nvim-treesitter/runtime/queries/kitty/injections.scm
Shawon 0ae4179a94 refactor(kitty): Generalized highlight queries
feat(kitty): Added injection support for *comments* in `kitty`.
2025-09-21 22:40:06 +06:00

31 lines
711 B
Scheme

(launch_source_window
pattern: (string) @injection.content
(#set! injection.language "regex"))
(launch_next_to
pattern: (string) @injection.content
(#set! injection.language "regex"))
(marker_entry
pattern: (string) @injection.content
(#set! injection.language "regex"))
(color_match
(string) @injection.content
(#set! injection.language "regex"))
(color_match_tab
(string) @injection.content
(#set! injection.language "regex"))
(include
glob: (string) @injection.content
(#set! injection.language "regex"))
(filter_element
(string) @injection.content
(#set! injection.language "regex"))
(comment
(comment_content) @injection.content
(#set! injection.language "comment"))