Add marksman and mdformat for Markdown linting and formatting support

This commit is contained in:
Daniel McKnight 2025-05-21 19:44:41 -07:00
parent a541a5eb51
commit 27fc7af6b2
3 changed files with 6 additions and 3 deletions

View file

@ -15,9 +15,10 @@ return {
"lua_ls",
"bashls",
"dockerls",
-- "gh-actions-language-server",
--"gh-actions-language-server",
"helm_ls",
"jsonls",
"marksman",
"nginx_language_server",
"ruff",
"yamlls",

View file

@ -5,6 +5,7 @@ return {
null_ls.setup({
sources = {
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.mdformat,
},
})
vim.keymap.set("n", "<leader>af", vim.lsp.buf.format, {desc="Auto-Format File"})

View file

@ -9,6 +9,7 @@ return {
lspconfig.helm_ls.setup({})
lspconfig.jsonls.setup({})
lspconfig.nginx_language_server.setup({})
lspconfig.marksman.setup({})
lspconfig.ruff.setup({})
lspconfig.yamlls.setup({})
vim.keymap.set("n", "<leader>d", vim.lsp.buf.hover, { desc = "Show Docstring" })