Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/dockerfile/highlights.scm')
-rw-r--r--runtime/queries/dockerfile/highlights.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/queries/dockerfile/highlights.scm b/runtime/queries/dockerfile/highlights.scm
index cdbf807c..51398e59 100644
--- a/runtime/queries/dockerfile/highlights.scm
+++ b/runtime/queries/dockerfile/highlights.scm
@@ -19,6 +19,8 @@
"SHELL"
"MAINTAINER"
"CROSS_BUILD"
+ (heredoc_marker)
+ (heredoc_end)
] @keyword
[
@@ -35,7 +37,12 @@
(image_digest
"@" @punctuation.special))
-(double_quoted_string) @string
+[
+ (double_quoted_string)
+ (single_quoted_string)
+ (json_string)
+ (heredoc_line)
+] @string
(expansion
[