frozolotl / tree-sitter-typst

A tree-sitter grammar for the typst typesetting language with a focus on correctness
European Union Public License 1.2
76 stars 3 forks source link

[BUG]: import All #4

Open ayoubelmhamdi opened 1 year ago

ayoubelmhamdi commented 1 year ago

I test it in neovim: v0.9.0-dev I think the :asterisk: is no support yet.

#import "template.typ": *
// Comment

ooo

#let MSE = "MSE"
#let char = text(fill:rgb("#ff00ff"),[■])

WITHOUT ASTERISK

rem-work1

WITH ASTERISK

rem-nowork1

ayoubelmhamdi commented 1 year ago

Also with line start with a comment

// file start with a comment

Automating this process

#let i = 0

rem-error2

ayoubelmhamdi commented 1 year ago

also, I had some issues with double asterisks :asterisk::asterisk:

a **b** a

ERRORS

rem-error3

NO ERRORS

rem-work4