Micron Document
enabling marksman

│ [!NOTE] This assumes a starting point like the Lazy │ Setup.

I have T383838{"neovim/nvim-lspconfig"}, in my T383838plugins table of T383838init.lua being loaded by Lazy.

In a nix-shell with T383838marksman package, and the following tacked into my T383838init.lua:

T282828
Tffa657requireTa5d6ff'Ta5d6fflspconfigTa5d6ff'Tb4b4b4.Te6edf3marksmanTb4b4b4.Te6edf3setupTb4b4b4{}


But the missing link -- if you're not editing stuff in a git repo, the damned server doesn't get started. This can be seen in T383838:LspInfo.

in the future

With neovim 0.11 the T383838lspconfig stuff is fading away in favor of T383838lsp.config. Specifically, accomplishing the above is now more like this:

vim.lsp.config('marksman', opts)
vim.lsp.enable('marksman')

And for the T383838opts, it should be a (lua) table of settings. Or just an empty table so it will use the defaults.

Tags: nvim

Tags
Navigation



created: 2025-01-10

updated: 2025-01-11 18:43:09

(re)generated: 2026-07-17