mirror of https://github.com/helix-editor/helix
feat: Syntax highlighting for Astro files (#3829)
parent
0d8ffa6b4a
commit
ffb41a94f0
@ -0,0 +1,3 @@
|
|||||||
|
; inherits: html
|
||||||
|
|
||||||
|
["---"] @punctuation.delimiter
|
@ -0,0 +1,9 @@
|
|||||||
|
; inherits: html
|
||||||
|
|
||||||
|
((frontmatter
|
||||||
|
(raw_text) @injection.content)
|
||||||
|
(#set! injection.language "typescript"))
|
||||||
|
|
||||||
|
((interpolation
|
||||||
|
(raw_text) @injection.content)
|
||||||
|
(#set! injection.language "tsx"))
|
Loading…
Reference in New Issue