feat(nvim): added vale linter for markdown

This commit is contained in:
Sergio Laín 2023-12-03 18:37:13 +01:00
parent 3c6f65eaaa
commit 115c91249b
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

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, { "vale" })
end,
},
{
"mfussenegger/nvim-lint",
opts = function(_, opts)
opts.linters_by_ft.markdown = opts.linters_by_ft.markdown or {}
table.insert(opts.linters_by_ft.markdown, "vale")
return opts
end,
},
}