feat(nvim): add typos linter as extra

This commit is contained in:
Sergio Laín 2024-01-07 01:32:27 +01:00
parent 612f8095be
commit a5b271fec2
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 18 additions and 2 deletions

View file

@ -91,5 +91,4 @@
"NEWS.md": "2123" "NEWS.md": "2123"
}, },
"version": 2 "version": 2
} }

View file

@ -0,0 +1,17 @@
return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "typos" })
end,
},
{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
["*"] = { "typos" },
},
},
},
}