mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
feat(parsers): add kitty (#8129)
This commit is contained in:
parent
9176343647
commit
db50897909
4 changed files with 215 additions and 0 deletions
31
runtime/queries/kitty/injections.scm
Normal file
31
runtime/queries/kitty/injections.scm
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
(launch_source_window
|
||||
value: (string) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(launch_next_to
|
||||
value: (string) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(marker_entry
|
||||
(pattern) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(color_match
|
||||
(pattern) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(color_match_tab
|
||||
(pattern) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(include
|
||||
glob: (pattern) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(filter_element
|
||||
(pattern) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(comment
|
||||
(comment_content) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue