feat: use eslint language server instead of null-ls
This commit is contained in:
parent
bb6968c86e
commit
7349a8848d
1 changed files with 1 additions and 2 deletions
|
@ -70,6 +70,7 @@ local servers = {
|
||||||
["clangd"] = {},
|
["clangd"] = {},
|
||||||
["cmake"] = {},
|
["cmake"] = {},
|
||||||
["dockerls"] = {},
|
["dockerls"] = {},
|
||||||
|
["eslint"] = {},
|
||||||
["jsonls"] = {},
|
["jsonls"] = {},
|
||||||
["lua_ls"] = {
|
["lua_ls"] = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
@ -150,8 +151,6 @@ local null_ls = require("null-ls")
|
||||||
null_ls.setup({
|
null_ls.setup({
|
||||||
sources = {
|
sources = {
|
||||||
null_ls.builtins.formatting.prettier,
|
null_ls.builtins.formatting.prettier,
|
||||||
null_ls.builtins.code_actions.eslint_d,
|
|
||||||
null_ls.builtins.diagnostics.eslint_d,
|
|
||||||
null_ls.builtins.diagnostics.tsc,
|
null_ls.builtins.diagnostics.tsc,
|
||||||
},
|
},
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
Loading…
Reference in a new issue