mirror of https://github.com/helix-editor/helix
Merge c2740b15f8
into 4281228da3
commit
3129bbbd49
|
@ -3523,7 +3523,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"
|
||||||
|
|
|
@ -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"))
|
|
||||||
|
|
Loading…
Reference in New Issue