summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorArtem Pyanykh2022-08-21 18:41:36 +0000
committerArtem Pyanykh2022-09-17 18:58:42 +0000
commit08937fc00e0f133f4393cae6b16ea65bcdd38487 (patch)
tree1a46200f921a6f7e5e3683dc57e0259aff65576d /languages.toml
parenta73e83ef4df18e2b70bf9b409928f5eb2fc26a99 (diff)
Add Markdown LSP via Marksman
Marksman is an LSP server for Markdown: https://github.com/artempyanykh/marksman It supports a bunch of LSP features: symbols, references, rename, diag, etc. and already has integrations with emacs, neovim, and vscode.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 0b46cc49..1dda58ae 100644
--- a/languages.toml
+++ b/languages.toml
@@ -905,7 +905,8 @@ name = "markdown"
scope = "source.md"
injection-regex = "md|markdown"
file-types = ["md", "markdown"]
-roots = []
+roots = [".marksman.toml"]
+language-server = { command = "marksman", args=["server"] }
indent = { tab-width = 2, unit = " " }
[[grammar]]