Merge branch 'master' of gitea.suda.codes:sudacode/nvim
This commit is contained in:
commit
d34b2da189
@ -20,6 +20,8 @@ require("null-ls").setup({
|
|||||||
null_ls.builtins.code_actions.eslint, null_ls.builtins.diagnostics.tsc,
|
null_ls.builtins.code_actions.eslint, null_ls.builtins.diagnostics.tsc,
|
||||||
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,
|
||||||
|
@ -217,6 +217,7 @@ local servers = {
|
|||||||
'bashls', 'pyright', 'jsonls', 'yamlls', 'vimls', 'dotls', 'dockerls',
|
'bashls', 'pyright', 'jsonls', 'yamlls', 'vimls', 'dotls', 'dockerls',
|
||||||
'html', 'cssls', 'lua_ls', 'eslint', 'tsserver', 'angularls', 'ansiblels'
|
'html', 'cssls', 'lua_ls', 'eslint', 'tsserver', 'angularls', 'ansiblels'
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
if lsp == 'lua_ls' then
|
if lsp == 'lua_ls' then
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user