mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(desktop): desktop parser and queries (#7282)
This commit is contained in:
parent
1d7c55f0bd
commit
0a9108a7e4
5 changed files with 114 additions and 0 deletions
8
queries/desktop/injections.scm
Normal file
8
queries/desktop/injections.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((entry
|
||||
key: (identifier) @_exec
|
||||
value: (string) @injection.content)
|
||||
(#eq? @_exec "Exec")
|
||||
(#set! injection.language "bash"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue