aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/vue/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/vue/injections.scm')
-rw-r--r--runtime/queries/vue/injections.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/queries/vue/injections.scm b/runtime/queries/vue/injections.scm
new file mode 100644
index 00000000..8ee34ffb
--- /dev/null
+++ b/runtime/queries/vue/injections.scm
@@ -0,0 +1,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"))