-
Hi, I've read the Emacs recommend config page and the two discussion about emacs in here, but I can't make it work (using harper-ls 0.26 and Emacs 30.1). Here's what I get when enabling eglot with the basic recommended config:
Seems like it expects some settings of some sort, so I tried using an empty one via
Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, I take it that the issue is that you're not getting diagnostics for For the most part, you can ignore the errors about your config, |
Beta Was this translation helpful? Give feedback.
-
On Thu Mar 27, 2025 at 3:28 PM CET, Ayako wrote:
### Question
How did you change `languageID` for `english-prose` to `plaintext`?
Can you share your config?
Sadly, I ended up not using harper because I didn't realise it was just a spellchecker with a few hardcoded rules instead of a more systematic grammar checker (mainly wanting tenses and conjugation).
Still, I just followed https://www.gnu.org/software/emacs/manual/html_node/eglot/Setting-Up-LSP-Servers.html and used '((english-prose-mode :language-id "plaintext") . ("harper-ls" "--stdio")) in the eglot server list.
|
Beta Was this translation helpful? Give feedback.
Hi, I take it that the issue is that you're not getting diagnostics for
/home/user/Programming/zero_copy.txt
? I think the issue is that you're using an unsupported language ID for it,english-prose
. You check the language IDs supported byharper-ls
in the documentation, since you were trying to edit a.txt
file, changing the language ID used toplaintext
should make it work.For the most part, you can ignore the errors about your config,
harper-ls
will just use the default config if you don't provide it with one. But, I think changing theharper-ls
key value fromnil
toeglot-{}
should suppress the errors.