nvim/lua/Plugin/ale.lua

8 lines
158 B
Lua
Raw Normal View History

2023-02-11 14:22:43 +08:00
local G = require('G')
G.cmd([[
let g:ale_linters = {'javascript': ['eslint']}
let g:ale_fixers = {'javascript': ['prettier']}
let g:ale_fix_on_save = 1
]])