feat: add markdown linting/formatting

This commit is contained in:
Devin Haska 2024-06-05 12:43:21 -07:00
parent 41367e3235
commit 4aed78a5b3
No known key found for this signature in database
3 changed files with 16 additions and 2 deletions

View file

@ -1,4 +1,4 @@
return {
return { {
"mfussenegger/nvim-lint",
opts = {
events = { "BufWritePost", "BufReadPost", "InsertLeave" },
@ -23,4 +23,16 @@ return {
end,
})
end,
}
}, {
"jose-elias-alvarez/null-ls.nvim",
event = { "BufWritePost", "BufReadPost", "InsertLeave" },
opts = function()
local null_ls = require("null-ls")
local diagnostics = null_ls.builtins.diagnostics
return {
sources = {
diagnostics.vale,
}
}
end
} }