mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(superhtml): add superhtml parser and queries
SuperHTML is a templating language used by the zine static site generator.
This commit is contained in:
parent
da7e9751f1
commit
1bcdd79088
4 changed files with 66 additions and 0 deletions
7
queries/superhtml/injections.scm
Normal file
7
queries/superhtml/injections.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
((script_element
|
||||
(raw_text) @injection.content)
|
||||
(#set! injection.language "javascript"))
|
||||
|
||||
((style_element
|
||||
(raw_text) @injection.content)
|
||||
(#set! injection.language "css"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue