feat: cspell lints

This commit is contained in:
ralvescosta 2025-03-16 21:55:54 -03:00
parent 24e70c9415
commit 537f989393
1 changed files with 13 additions and 1 deletions

View File

@ -6,7 +6,19 @@ return {
config = function()
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
markdown = { 'markdownlint', 'cspell' },
go = { 'cspell' },
rust = { 'cspell' },
lua = { 'cspell' },
typescript = { 'cspell' },
javascript = { 'cspell' },
python = { 'cspell' },
java = { 'cspell' },
terraform = { 'cspell' },
yaml = { 'cspell' },
proto = { 'cspell' },
graphql = { 'cspell' },
text = { 'cspell' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,