mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
feat(razor): add parser and queries (#7545)
This commit is contained in:
parent
bcd0b26607
commit
39bf51ff68
6 changed files with 95 additions and 0 deletions
11
queries/razor/injections.scm
Normal file
11
queries/razor/injections.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
; inherits: c_sharp
|
||||
|
||||
([
|
||||
(html_comment)
|
||||
(razor_comment)
|
||||
] @comment
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((element) @injection.content
|
||||
(#set! injection.language "html")
|
||||
(#set! injection.combined))
|
||||
Loading…
Add table
Add a link
Reference in a new issue