update
This commit is contained in:
parent
5ca867e7e5
commit
b2223d2aa4
4 changed files with 83 additions and 18 deletions
20
lua/custom/plugins/ale.lua
Normal file
20
lua/custom/plugins/ale.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
'dense-analysis/ale',
|
||||
config = function()
|
||||
-- Configuration goes here.
|
||||
local g = vim.g
|
||||
g.ale_fixers = {
|
||||
typescript = { 'prettier_d' },
|
||||
html = { 'prettier_d' },
|
||||
javascript = { 'prettier_d' },
|
||||
typescriptreact = { 'prettier_d' },
|
||||
}
|
||||
g.ale_linters = {
|
||||
lua = { 'lua_language_server' },
|
||||
javascript = { 'eslint' },
|
||||
typescript = { 'eslint' },
|
||||
typescriptreact = { 'eslint' },
|
||||
html = {},
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue