init
This commit is contained in:
18
nvim/lua/plugins/extras/linting/typos.lua
Normal file
18
nvim/lua/plugins/extras/linting/typos.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
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,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user