Closed chancez closed 2 years ago
Hello! So if I recall correctly, the remark language server expects remark to be installed locally in the workspace/project you're currently working on. As such, installing it globally (or inside nvim-lsp-installer's install path) won't cut it. Try installing remark locally instead: npm install remark
Ah yeah that works, but unfortunately incredibly cumbersome. I'll have to see how it works upstream to see if that's something that can be fixed/changed.
https://github.com/remarkjs/remark/discussions/960 seems relevant
:+1: I'd be happy to vendor remark
in this plugin if that's a viable option (I believe it won't work today as remark expects a workspace local installation).
Problem description
After adding
remark_ls
, it isn't working by default. Opening a markdown file results in:I tried installing
remark
both globally:and in the remark-language-server node_modules:
But I am still getting the same error.
Neovim version (>= 0.6)
Operating system/version
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig
Affected language servers
remark_ls
Steps to reproduce
Start neovim with nvim-lsp-installer and enable
remark_ls
, then open any markdown file.Actual behavior
Expected behavior
remark-language-server just works on install.
LspInfo
Healthcheck
Screenshots or recordings
No response