nvim: lsp: Enable shellcheck as diagnostics source for null-ls
This commit is contained in:
parent
068dfcd4b9
commit
8aa4fc2f76
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ end
|
|||
-- See https://github.com/jose-elias-alvarez/null-ls.nvim/issues/38
|
||||
-- Required by nvim-lsp-ts-utils to provide ESLint code actions, diagnostics
|
||||
-- and formatting.
|
||||
null_ls.config {}
|
||||
local null_ls_sources = {
|
||||
null_ls.builtins.diagnostics.shellcheck,
|
||||
}
|
||||
null_ls.config({ sources = null_ls_sources })
|
||||
nvim_lsp["null-ls"].setup {}
|
||||
|
||||
local ts_utils_setup = function(client, bufnr, opts)
|
||||
|
|
Loading…
Reference in a new issue