dotfiles/modules/programs/nvim/plugins/lua/null-ls-nvim.lua

19 lines
553 B
Lua

local null_ls = require("null-ls")
null_ls.setup({
sources = {
-- Code actions
require("none-ls-shellcheck.code_actions"),
null_ls.builtins.code_actions.statix,
-- Diagnostics
null_ls.builtins.diagnostics.checkmake,
null_ls.builtins.diagnostics.deadnix,
null_ls.builtins.diagnostics.dotenv_linter,
null_ls.builtins.diagnostics.fish,
require("none-ls-shellcheck.diagnostics"),
null_ls.builtins.diagnostics.statix,
null_ls.builtins.diagnostics.trail_space,
null_ls.builtins.diagnostics.yamllint,
},
})