feat: add markdown linting/formatting
This commit is contained in:
parent
41367e3235
commit
4aed78a5b3
3 changed files with 16 additions and 2 deletions
|
@ -6,6 +6,7 @@ return {
|
|||
scss = { "prettierd" },
|
||||
html = { "djlint" },
|
||||
lua = { "stylelua" },
|
||||
markdown = { "prettierd" },
|
||||
javascript = { "prettierd" },
|
||||
javascriptreact = { "prettierd" },
|
||||
json = { "prettierd" },
|
||||
|
|
|
@ -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
|
||||
} }
|
||||
|
|
|
@ -22,6 +22,7 @@ return {
|
|||
"eslint_d",
|
||||
"prettierd",
|
||||
"stylua",
|
||||
"vale",
|
||||
},
|
||||
automatic_installation = true,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue