feat(neovim): switch to null-ls

- switch from diagnostic-languageserver to null-ls.nvim
- add shellcheck & shfmt
- replace nix-linter with statix
- replace prettier with prettier_d_slim
- add stylelint, eslint_d & prettier_d_slim binaries
This commit is contained in:
Felix Schröter 2022-08-29 13:14:18 +02:00
parent 2122000c73
commit ccaf72b459
Signed by: felschr
GPG key ID: 671E39E6744C807D
4 changed files with 75 additions and 171 deletions

View file

@ -23,7 +23,8 @@ wk.register({
},
f = {
function()
vim.lsp.buf.formatting_seq_sync(nil, nil, { "tsserver", "diagnosticls" })
-- TODO switch to `vim.lsp.buf.format` after updating to nvim 0.8
vim.lsp.buf.formatting_seq_sync(nil, nil, { "tsserver", "null-ls" })
end,
"Format file",
},