I already loved Helix (best editor in the world), but yesterday @haeckerfelix showed me that Language Servers can go much further than I thought.
TIL that Helix and Typst are a match made in heaven, thanks to the Language Server tinymist.
I already loved Helix (best editor in the world), but yesterday @haeckerfelix showed me that Language Servers can go much further than I thought.
TIL that Helix and Typst are a match made in heaven, thanks to the Language Server tinymist.
@thibaultamartin @haeckerfelix
Yes, I also use #typst with #HelixEditor. But I am still missing a spell/grammar checker solution that works for Typst and that ideally not only covers English, but other languages as well.
Do you know any such Language Servers?
@hetare11 @haeckerfelix I use the Harper Language Server for that
@thibaultamartin @hetare11 @haeckerfelix
I'll take a look at Harper.
@thibaultamartin @haeckerfelix
Thanks for the hint. The range of supported formal languages is pretty good. Alas, only English as natural language is supported.
@thibaultamartin @hetare11 @haeckerfelix i tried it with the browser and with the lsp and in both cases it checked on every single keystroke. So it refreshed the error squiqqles while I was still typing which I found very distracting.
Is that not bothering you or did you find a workaround?
@ju @hetare11 @haeckerfelix it looks like there’s an issue about it (that references another issue too)

Currently, Harper scans text and underlines errors letter-by-letter in real-time. While the speed is impressive, it creates a frustrating user experience during active typing because red error line...
@hetare11 @thibaultamartin @haeckerfelix
I'd like to have a #typst language checker, too, but I don't think it exists yet. Edit: #typesetter does English in 0.12 .
I'm working on single typst sources with output in two languages, NL/EN, using this function as a single typst source file:
#let ennl = (en, nl) => { [#nl] }
//#let ennl = (en, nl) => { [#en] }
#Typesetter can find the arguments in its preview, and a language checker would need to cooperate with this somehow.
Thanks for the hint. ltex-ls is the one I am currently using. But it does not support typst. More over, I cannot easily add words to a user specific dictionary—which seems to work with harper-ls. So, I thought, I give it a try. There does not seem to a one-stop solution for me yet.