antonWetzel / typst-languagetool

LanguageTool Integration for Typst for spell and grammer check
MIT License
36 stars 9 forks source link

Treat tilde as whitespace. #1

Closed reitermarkus closed 11 months ago

reitermarkus commented 11 months ago

I often use tilde so that citations are not wrapped to the next line, e.g.

info[MORFOLOGIK_RULE_EN_GB]: Possible spelling mistake
  --> main.typ:63:21
   |
63 | PP") as well as the Rust~@rust programming la
   |                     ----- info: Possible spelling mistake found.
   |                             help: Rust
   |                             help: Rusty
   |                             help: Rusts
   |                             help: RUSTA
   |                             help: Rust X
antonWetzel commented 11 months ago

Fixed with 87b6f4445405b9898b46e80c2fb82d814a6135c3. The tilde shorthand is replaced with a simple space.

reitermarkus commented 11 months ago

Thanks for the quick fix!