TOP LSP Can be found in the marketplace of VSCode.
Nvim
Clone the repo git clone git@github.com:Mclilzee/toplsp.git
Install packages npm run install-dependencies
Build npm run esbuild
Put the path of ./server/out/main.js to be launched from Nvim, in config autcommand:
Make sure to replace rootPath with the real path of the directory.
vim.api.nvim_create_autocmd('FileType', {
pattern = 'markdown',
callback = function(ev)
vim.lsp.start {
name = 'toplsp',
cmd = { 'node', '/home/yourname/repo/toplsp/server/out/main.js' }, // Update path to point to the built main.js file
root_dir = vim.fs.root(ev.buf, { '.markdownlint-cli2.jsonc' }),
}
end,
})