mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 14:30:05 -04:00
9 lines
219 B
Scheme
9 lines
219 B
Scheme
;; Pass code blocks to Cpp highlighter
|
|
(code (code_body) @cpp)
|
|
|
|
;; Pass identifiers to Go highlighter (Cheating I know)
|
|
;;((identifier) @lua)
|
|
|
|
;; Highlight regex syntax inside literal strings
|
|
((string_literal) @regex)
|
|
|