diff --git a/plugin-confs/null-ls.lua b/plugin-confs/null-ls.lua index ed00ddf..d134ea2 100644 --- a/plugin-confs/null-ls.lua +++ b/plugin-confs/null-ls.lua @@ -19,6 +19,8 @@ require("null-ls").setup({ null_ls.builtins.code_actions.shellcheck, null_ls.builtins.diagnostics.cppcheck, null_ls.builtins.diagnostics.gitlint, + null_ls.builtins.diagnostics.eslint + .with({ cmd = "eslint-language-server" }), null_ls.builtins.diagnostics.jsonlint, require("null-ls").builtins.diagnostics.luacheck, null_ls.builtins.diagnostics.markdownlint, diff --git a/plugin-confs/nvim-cmp.lua b/plugin-confs/nvim-cmp.lua index 9aebe69..55ed0b4 100644 --- a/plugin-confs/nvim-cmp.lua +++ b/plugin-confs/nvim-cmp.lua @@ -214,7 +214,7 @@ cmp.setup.cmdline(':', { local servers = { 'bashls', 'jedi_language_server', 'jsonls', 'yamlls', 'vimls', 'dotls', - 'dockerls', 'html', 'cssls', 'lua_ls' + 'dockerls', 'html', 'cssls', 'lua_ls', 'tsserver', 'eslint' } for _, lsp in ipairs(servers) do if lsp == 'lua_ls' then