diff options
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/vim-dev.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dotfiles/vim-dev.lua b/dotfiles/vim-dev.lua index 0b9773d..84b8e6e 100644 --- a/dotfiles/vim-dev.lua +++ b/dotfiles/vim-dev.lua | |||
@@ -80,3 +80,19 @@ require("nlua.lsp.nvim").setup(lspconfig, { | |||
80 | }, | 80 | }, |
81 | on_attach = on_attach, | 81 | on_attach = on_attach, |
82 | }) | 82 | }) |
83 | |||
84 | -- Null LSP | ||
85 | |||
86 | require("null-ls").setup({ | ||
87 | sources = { | ||
88 | require("null-ls").builtins.code_actions.shellcheck, | ||
89 | require("null-ls").builtins.code_actions.statix, | ||
90 | require("null-ls").builtins.diagnostics.deadnix, | ||
91 | require("null-ls").builtins.diagnostics.shellcheck, | ||
92 | require("null-ls").builtins.diagnostics.statix, | ||
93 | require("null-ls").builtins.diagnostics.vale.with { | ||
94 | filetypes = { "markdown", "pandoc", "tex", "asciidoc" }, | ||
95 | }, | ||
96 | }, | ||
97 | on_attach = on_attach, | ||
98 | }) | ||