Replies: 1 comment 4 replies
-
That's exactly right. I'll add that clarification to the docs.
Yup. That's a mistake. I've fixed that as well. If you just want to add some proper nouns (Grafana, Prometheus), run
That's pretty concerning. Are you still having this issue? Are any logs getting printed? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I'm reviewing this long document that has a metric ton of acronyms and things, and I want to build a dictionary so I don't ever have to spell out Prometheus and Grafana to Harper ever again.
The harper-ls docs say the dictionary is in
$XDG_CONFIG_HOME/harper-ls/
, but that's actually a directory (not a file!)...I think that should say it's named
dictionary.txt
.It also says:
... which is ... nice, but doesn't say clearly what the format is: is it one word per line? or something else?
It looks like one word per line, but perhaps that could be made clearer...
For what it's worth, that's the key to the whole thing, and thought me a new thing about LSP and eglot i didn't know (cf #150): C-c e a triggers the "code action" thing, which then prompts you for things...
Adding to the dictionary takes a long time though (a few seconds), not sure what's up with that...
It also doesn't work: either
harper-ls
doesn't reload the dict on the fly, or it's reading from a different path that it's writing to, because picking "add to global" as an action doesn't actually fix the issue in LSP.I should finally point out the last line in that README file is a bit confusing to me as well:
... isn't that the same file twice? :)
Beta Was this translation helpful? Give feedback.
All reactions