summaryrefslogtreecommitdiff
path: root/nvim/lsp/marksman.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lsp/marksman.lua')
-rwxr-xr-xnvim/lsp/marksman.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/nvim/lsp/marksman.lua b/nvim/lsp/marksman.lua
new file mode 100755
index 0000000..6f436e4
--- /dev/null
+++ b/nvim/lsp/marksman.lua
@@ -0,0 +1,18 @@
+---@brief
+---
+--- https://github.com/artempyanykh/marksman
+---
+--- Marksman is a Markdown LSP server providing completion, cross-references, diagnostics, and more.
+---
+--- Marksman works on MacOS, Linux, and Windows and is distributed as a self-contained binary for each OS.
+---
+--- Pre-built binaries can be downloaded from https://github.com/artempyanykh/marksman/releases
+
+local bin_name = 'marksman'
+local cmd = { bin_name, 'server' }
+
+return {
+ cmd = cmd,
+ filetypes = { 'markdown', 'markdown.mdx' },
+ root_markers = { '.marksman.toml', '.git' },
+}