Merge branch 'master' of gitea.suda.codes:sudacode/nvim

This commit is contained in:
ksyasuda@umich.edu 2023-09-06 16:22:08 -07:00
commit d34b2da189
2 changed files with 27 additions and 24 deletions

View File

@ -20,6 +20,8 @@ require("null-ls").setup({
null_ls.builtins.code_actions.eslint, null_ls.builtins.diagnostics.tsc,
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,

View File

@ -217,6 +217,7 @@ local servers = {
'bashls', 'pyright', 'jsonls', 'yamlls', 'vimls', 'dotls', 'dockerls',
'html', 'cssls', 'lua_ls', 'eslint', 'tsserver', 'angularls', 'ansiblels'
}
for _, lsp in ipairs(servers) do
if lsp == 'lua_ls' then
lspconfig[lsp].setup {