aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/marksman.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/marksman.lua')
-rw-r--r--.config/nvim/lsp/marksman.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/lsp/marksman.lua b/.config/nvim/lsp/marksman.lua
new file mode 100644
index 0000000..fc1e048
--- /dev/null
+++ b/.config/nvim/lsp/marksman.lua
@@ -0,0 +1,16 @@
+---@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
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'marksman', 'server' },
+ filetypes = { 'markdown', 'markdown.mdx' },
+ root_markers = { '.marksman.toml', '.git' },
+}