fix none-ls deprecation and replace with native LSP yay!!

This commit is contained in:
Noah Håkansson 2024-02-24 19:40:30 +01:00
parent 6a560b4086
commit d56f84739b
4 changed files with 27 additions and 23 deletions

View file

@ -6,3 +6,4 @@ vim.o.cursorline = true
vim.o.expandtab = true
vim.o.shiftwidth = 2
vim.o.tabstop = 2
vim.o.scrolloff = 8

View file

@ -36,22 +36,14 @@ function M.config()
},
-- extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" },
}),
formatting.eslint_d,
-- Linters / Diagnostics
diagnostics.eslint_d,
diagnostics.flake8,
-- diagnostics.revive, -- Golang linter
diagnostics.yamllint,
diagnostics.jsonlint,
diagnostics.shellcheck.with({
filetypes = { 'sh', 'zsh' },
}),
diagnostics.zsh,
-- Code Actions
code_actions.eslint_d,
},
})
end