✨ feat(lint): configure nvim-lint with codespell, editorconfig-checker and file-specific configs

This commit is contained in:
sankalp committed 2025-07-25 14:54:18 +05:45
1 parent a473b50c4c
commit 76697b1381
4 files changed
+52 -15

No files matched your search

+7
View File
@@ -126,6 +126,11 @@ local plugins = {
{
'mfussenegger/nvim-lint',
dependencies = { 'rshkarin/mason-nvim-lint' },
init = function()
if vim.fn.executable('codespell') == 1 then
vim.o.spell = false
end
end,
config = load_config('lang.nvim-lint'),
event = { 'BufReadPost', 'BufNewFile' },
},
@@ -454,6 +459,8 @@ local linter_sources = {
'hadolint',
'actionlint',
'vint',
'codespell',
'editorconfig-checker',
}
local formatter_sources = {