feat: use eslint language server instead of null-ls

This commit is contained in:
Michael Mandl 2023-10-16 20:43:08 +02:00
parent bb6968c86e
commit 7349a8848d
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -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,