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:
parent
2122000c73
commit
ccaf72b459
4 changed files with 75 additions and 171 deletions
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue