dotfiles/.config/nvim/lua/plugins/extras/linting/typos.lua

18 lines
334 B
Lua

return {
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"typos",
},
},
},
{
"mfussenegger/nvim-lint",
opts = function(_, opts)
opts.linters_by_ft["*"] = opts.linters_by_ft["*"] or {}
table.insert(opts.linters_by_ft["*"], "typos")
return opts
end,
},
}