Skip to content

Commit

Permalink
lsp: change markdown from markdownlint to markman
Browse files Browse the repository at this point in the history
Signed-off-by: aserowy <serowy@hotmail.com>
  • Loading branch information
aserowy committed Nov 18, 2024
1 parent ff700e5 commit 6fb87e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/language/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ local lsps = {
require("language.lsp.json"),
require("language.lsp.null-ls"),
require("language.lsp.lua"),
require("language.lsp.markdown"),
require("language.lsp.nix"),
require("language.lsp.nu"),
require("language.lsp.nx"),
Expand Down
9 changes: 9 additions & 0 deletions lua/language/lsp/markdown.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
local M = {}
function M.setup(capabilities, on_attach)
require("lspconfig").marksman.setup({
capabilities = capabilities,
on_attach = on_attach,
})
end

return M
1 change: 0 additions & 1 deletion lua/language/lsp/null-ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
local function generate_sources(null_ls)
local sources = {
null_ls.builtins.diagnostics.djlint,
null_ls.builtins.diagnostics.markdownlint,
null_ls.builtins.diagnostics.terraform_validate,

-- FIX: nufmt is currently unuseable
Expand Down

0 comments on commit 6fb87e4

Please sign in to comment.