aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/vue/injections.scm
blob: 8ee34ffbdc5393d4393e7b9377d168a78030353b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(directive_attribute
  (directive_name) @keyword
  (quoted_attribute_value
    (attribute_value) @injection.content)
 (#set! injection.language "javascript"))

((interpolation
  (raw_text) @injection.content)
 (#set! injection.language "javascript"))

((script_element
  (raw_text) @injection.content)
 (#set! injection.language "javascript"))

((style_element
  (raw_text) @injection.content)
 (#set! injection.language "css"))