Compare commits

..

2 Commits

Author SHA1 Message Date
ksyasuda
a66bbd7c75
Merge branch 'master' of gitea.suda.codes:sudacode/nvim 2023-08-27 23:43:20 -07:00
ksyasuda
fb9c79f28a
add eslint, tslint to nvim-cmp 2023-08-27 23:43:14 -07:00
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,8 @@ require("null-ls").setup({
null_ls.builtins.code_actions.shellcheck, null_ls.builtins.code_actions.shellcheck,
null_ls.builtins.diagnostics.cppcheck, null_ls.builtins.diagnostics.cppcheck,
null_ls.builtins.diagnostics.gitlint, null_ls.builtins.diagnostics.gitlint,
null_ls.builtins.diagnostics.eslint
.with({ cmd = "eslint-language-server" }),
null_ls.builtins.diagnostics.jsonlint, null_ls.builtins.diagnostics.jsonlint,
require("null-ls").builtins.diagnostics.luacheck, require("null-ls").builtins.diagnostics.luacheck,
null_ls.builtins.diagnostics.markdownlint, null_ls.builtins.diagnostics.markdownlint,

View File

@ -215,7 +215,7 @@ cmp.setup.cmdline(':', {
local servers = { local servers = {
'bashls', 'jedi_language_server', 'jsonls', 'yamlls', 'vimls', 'dotls', '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 for _, lsp in ipairs(servers) do
if lsp == 'lua_ls' then if lsp == 'lua_ls' then