extra: nvim: add none-ls-shellcheck diagnostics

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-04-21 02:32:19 +02:00
parent e4e479e91a
commit 286e29c017
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A
2 changed files with 2 additions and 0 deletions

View file

@ -194,6 +194,7 @@ function setupNullLs()
null_ls.builtins.formatting.terraform_fmt.with({ command = 'tofu' }),
null_ls.builtins.formatting.typstfmt,
prettier,
require('none-ls-shellcheck.diagnostics'),
},
on_attach = function(client, bufnr)
local ft = vim.api.nvim_get_option_value('filetype', { buf = bufnr })

View file

@ -157,6 +157,7 @@ in {
lightline-vim
luasnip
none-ls-nvim
none-ls-shellcheck-nvim
nvim-cmp
nvim-lspconfig
nvim-treesitter