✨ feat(lint): configure nvim-lint with codespell, editorconfig-checker and file-specific configs
This commit is contained in:
4 files changed
+52
-15
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user