aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/marksman.lua
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-14 23:43:38 +0300
committerawy <awy@awy.one>2025-11-14 23:43:38 +0300
commitc7a88a07b9287db9c129914483f6b3ae1ab5404c (patch)
tree73c227c5e8519eb9135f46984e4fc067b316ed1b /.config/nvim/lsp/marksman.lua
downloadmangoslice-c7a88a07b9287db9c129914483f6b3ae1ab5404c.tar.gz
init
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' },
+}