Compare commits

...

2 Commits

Author SHA1 Message Date
Idobenhamo 29dbb7109b
Merge c2740b15f8 into 22b184b570 2025-07-21 12:58:31 +01:00
Idobenhamo c2740b15f8 Update the tree sitter to support Typst 0.12 2025-01-13 11:36:01 +02:00
2 changed files with 4 additions and 7 deletions

View File

@ -3521,7 +3521,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "typst" name = "typst"
source = { git = "https://github.com/uben0/tree-sitter-typst", rev = "13863ddcbaa7b68ee6221cea2e3143415e64aea4" } source = { git = "https://github.com/uben0/tree-sitter-typst", rev = "26dfb4b94a99cc9d6044342b7ad0ba761da77d60" }
[[language]] [[language]]
name = "nunjucks" name = "nunjucks"

View File

@ -2,9 +2,6 @@
(blob) @injection.shebang @injection.content) (blob) @injection.shebang @injection.content)
(raw_blck (raw_blck
lang: (ident) @injection.language lang: (ident) @_lang
(blob) @injection.content) (blob) @injection.content
(#set-lang-from-info-string! @_lang))
((comment)
@injection.content
(#set! injection.language "comment"))