mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
16 lines
389 B
Lua
16 lines
389 B
Lua
-- lua/plugins/lint.lua
|
|
return {
|
|
"mfussenegger/nvim-lint",
|
|
opts = {
|
|
linters_by_ft = {
|
|
markdown = { "markdownlint" },
|
|
},
|
|
-- Configuración específica para markdownlint
|
|
linters = {
|
|
markdownlint = {
|
|
-- Aquí está la magia: le pasamos el argumento --config
|
|
args = { "--config", vim.fn.expand("~/.markdownlint.jsonc") },
|
|
},
|
|
},
|
|
},
|
|
}
|