streetsidesoftware / cspell-dicts

Various cspell dictionaries
Other
224 stars 208 forks source link

💡: Support Typst #3432

Open memeplex opened 3 months ago

memeplex commented 3 months ago

Problem

Typst is a new open-source markup-based typesetting system that is designed to be as powerful as LaTeX and is quickly gaining popularity.

But it doesn't play quite well with cspell. For example, it's trying to spellcheck where it shouldn't:

image

Solution

Spellcheck accordingly to the Typst language grammar.

Alternatives

No response

Additional Context

No response

Code of Conduct

Jason3S commented 3 months ago

@memeplex,

Dictionaries are used to add support for different file types.

The first step is to add keywords. The second is to add some Regular Expressions to define parts of the language (this is the more difficult part and is not perfect).

memeplex commented 3 months ago

I'm going to experiment with my user settings and report the rules I come up with.

On Sat, Aug 3, 2024, 4:59 AM Jason Dent @.***> wrote:

@memeplex https://github.com/memeplex,

Dictionaries are used to add support for different file types.

The first step is to add keywords. The second is to add some Regular Expressions to define parts of the language (this is the more difficult part and is not perfect).

— Reply to this email directly, view it on GitHub https://github.com/streetsidesoftware/cspell-dicts/issues/3432#issuecomment-2266629485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVWV6NRBOVO4JJPDFHPPVTZPSEWJAVCNFSM6AAAAABL5WNII6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGYZDSNBYGU . You are receiving this because you were mentioned.Message ID: @.***>