Add marksman and mdformat for Markdown linting and formatting support
This commit is contained in:
parent
a541a5eb51
commit
27fc7af6b2
3 changed files with 6 additions and 3 deletions
|
@ -15,9 +15,10 @@ return {
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"bashls",
|
"bashls",
|
||||||
"dockerls",
|
"dockerls",
|
||||||
-- "gh-actions-language-server",
|
--"gh-actions-language-server",
|
||||||
"helm_ls",
|
"helm_ls",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
|
"marksman",
|
||||||
"nginx_language_server",
|
"nginx_language_server",
|
||||||
"ruff",
|
"ruff",
|
||||||
"yamlls",
|
"yamlls",
|
||||||
|
|
|
@ -5,6 +5,7 @@ return {
|
||||||
null_ls.setup({
|
null_ls.setup({
|
||||||
sources = {
|
sources = {
|
||||||
null_ls.builtins.formatting.stylua,
|
null_ls.builtins.formatting.stylua,
|
||||||
|
null_ls.builtins.formatting.mdformat,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
vim.keymap.set("n", "<leader>af", vim.lsp.buf.format, {desc="Auto-Format File"})
|
vim.keymap.set("n", "<leader>af", vim.lsp.buf.format, {desc="Auto-Format File"})
|
||||||
|
|
|
@ -9,6 +9,7 @@ return {
|
||||||
lspconfig.helm_ls.setup({})
|
lspconfig.helm_ls.setup({})
|
||||||
lspconfig.jsonls.setup({})
|
lspconfig.jsonls.setup({})
|
||||||
lspconfig.nginx_language_server.setup({})
|
lspconfig.nginx_language_server.setup({})
|
||||||
|
lspconfig.marksman.setup({})
|
||||||
lspconfig.ruff.setup({})
|
lspconfig.ruff.setup({})
|
||||||
lspconfig.yamlls.setup({})
|
lspconfig.yamlls.setup({})
|
||||||
vim.keymap.set("n", "<leader>d", vim.lsp.buf.hover, { desc = "Show Docstring" })
|
vim.keymap.set("n", "<leader>d", vim.lsp.buf.hover, { desc = "Show Docstring" })
|
||||||
|
|
Loading…
Reference in a new issue