Skip to content

Commit

Permalink
Add Markdown LSP via Marksman
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
artempyanykh committed Sep 17, 2022
1 parent a73e83e commit 08937fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
| llvm-mir-yaml || || |
| lua || || `lua-language-server` |
| make || | | |
| markdown || | | |
| markdown || | | `marksman` |
| markdown.inline || | | |
| meson || || |
| mint | | | | `mint` |
Expand Down
3 changes: 2 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit 08937fc

Please sign in to comment.