From de009fd679e10d053fdcc10785f91ad5317449ea Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 14 Oct 2025 18:27:29 +0300 Subject: nvim revamp --- .config/nvim/lsp/marksman.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .config/nvim/lsp/marksman.lua (limited to '.config/nvim/lsp/marksman.lua') 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' }, +} -- cgit v1.2.3