Open haselwarter opened 1 year ago
grammarly-language-server
is only supported with Node v16; therefore, you might need to downgrade your Node.js version and reinstall the package.
I don't understand the difference in behaviour between markdown and LaTeX files. Why does lsp in markdown-mode insist on installing grammarly-ls on its own even though grammarly-languageserver is installed and works in LaTeX-mode?
I also don't understand why in LaTeX-mode, grammarly-languageserver works fine when using the version I installed manually via npm install -g @emacs-grammarly/grammarly-languageserver
but the auto-installed version does not work?
I don't understand the difference in behaviour between markdown and LaTeX files. Why does lsp in markdown-mode insist on installing grammarly-ls on its own even though grammarly-languageserver is installed and works in LaTeX-mode?
It shouldn't happen. They all share the same language-server. 🤔 This is the bug from lsp-mode
if this is true.
I also don't understand why in LaTeX-mode, grammarly-languageserver works fine when using the version I installed manually via
npm install -g @emacs-grammarly/grammarly-languageserver
but the auto-installed version does not work?
This shouldn't happen too. The latest version for the grammarly-language-server is 0.2.1
, and they should be the same. 🤔 Can you check the versions for both global and local language servers?
I installed grammarly-languageserver via
npm install -g @emacs-grammarly/grammarly-languageserver
and installed emacs-grammarly from melpa using package.el. When I open a markdown file, sayfoo.md
, I get an alert saying that no installed server supporting this file was found, and a suggestion to automatically installmarksman
orgrammarly-ls
. Runninglsp
in LaTeX mode works as expected.If I accept the suggestion,
grammarly-languageserver
gets installed into~/.emacs.d/.cache/lsp/npm/
.However, lsp still does not work for markdown files after this: activating
lsp
infoo.md
now fails with the following:I'm using Emacs from git, with the following minimal config