aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/editor-syntax-etc/nvim/queries/sisu/injections.scm
blob: 27f622b440675101b1ffa658bd6c48d616874d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; Language injection queries for SiSU Spine markup
;
; Code blocks could potentially inject language-specific highlighting,
; but SiSU code blocks don't specify language. These queries are
; provided as a starting point for future extension.

; Code block content could be injected with a specific language
; if the block type or context provides a hint.
; For now, raw content in code blocks is left unhighlighted.

; Example: if code blocks specified a language, e.g. code(d){
; ((code_block_curly
;   open: (block_open) @_open
;   content: (raw_content) @injection.content)
;  (#match? @_open "code\\(d\\)")
;  (#set! injection.language "d"))