Skip to content

Commit

Permalink
fix(nvim): Checker with disabled gitcommit files (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima authored Sep 7, 2024
1 parent 7fd6dd9 commit ac9c4d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/nvim/lua/base/null.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ return {
command = "commitlint",
extra_args = { "--config", ".commitlintrc.mjs" },
},
require("null-ls").builtins.diagnostics.editorconfig_checker,
require("null-ls").builtins.diagnostics.editorconfig_checker.with {
disabled_filetypes = { "gitcommit" },
},
require("null-ls").builtins.diagnostics.markdownlint,
},
}

0 comments on commit ac9c4d7

Please sign in to comment.