Skip to content

Commit d27ada2

Browse files
committed
changed: markdown processing rolled back to the marksman plugin;
1 parent 8ae1ecf commit d27ada2

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

ftplugin/markdown.lua

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
lspconfig = require("lspconfig")
2-
3-
lspconfig.remark_ls.setup {
4-
root_dir = lspconfig.util.root_pattern(".git", ".remarkrc", "package.json", "pom.xml", ".settings"),
5-
settings = {
6-
requireConfig = true
7-
}
8-
}
9-
10-
vim.cmd("LspStart remark_ls")
1+
require("lvim.lsp.manager").setup("marksman", {
2+
root_dir = require("lspconfig").util.root_pattern(".git", ".marksman.toml", "package.json", "pom.xml", ".settings"),
3+
filetypes = { "markdown", "markdown.mdx" },
4+
})

0 commit comments

Comments
 (0)