nvim-treesitter/queries/jinja/highlights.scm

20 lines
186 B
Scheme
Raw Permalink Normal View History

; inherits: jinja_inline
[
"{{"
"{{-"
"{{+"
"+}}"
"-}}"
"}}"
"{%"
"{%-"
"{%+"
"+%}"
"-%}"
"%}"
] @keyword.directive
; TODO: only match raw
(raw_start) @keyword