scintillua icon indicating copy to clipboard operation
scintillua copied to clipboard

Add Typst lexer

Open Disonantemus opened this issue 1 year ago • 3 comments

Typst lexer, better than nothing. I don't know what I'm doing too much, just copy paste from other lexers. But at least now I can differentiate between: content, typst functions and comments. Maybe someone that know more can start from here or get motivated to do a better lexer.

Disonantemus avatar Mar 14 '24 15:03 Disonantemus

Thanks for sharing! Perhaps a link to a resource would be helpful for anyone trying to complete this.

orbitalquark avatar Mar 16 '24 16:03 orbitalquark

I did this for vis, but they send me here.

Typst is a typesetting system, like LaTeX, but 200x smaller, has meaningful errors, is fast, markup similar to markdown, very active community, is supported by PanDoc and Github; in Rust. Source. Documentation.

In AUR there is:

  • typstfmt-bin: formatter
  • typst-lsp-bin: language server
  • tree-sitter-typst-git
  • prettypst: formatter (Not in AUR).

Editor support:

Awesome Typst.

I don't know if this helps.

Disonantemus avatar Mar 19 '24 00:03 Disonantemus

It does help. Thanks for the info!

orbitalquark avatar Mar 23 '24 18:03 orbitalquark