aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/latex/highlights.scm22
1 files changed, 17 insertions, 5 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm
index 3831069ff..f0cff7791 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -268,12 +268,16 @@
(latex_include
command: _ @keyword.import
- path: (curly_group_path) @string)
+ path: (curly_group_path) @string.special.path)
+
+(verbatim_include
+ command: _ @keyword.import
+ path: (curly_group_path) @string.special.path)
(import_include
command: _ @keyword.import
- directory: (curly_group_path) @string
- file: (curly_group_path) @string)
+ directory: (curly_group_path) @string.special.path
+ file: (curly_group_path) @string.special.path)
(bibstyle_include
command: _ @keyword.import
@@ -281,7 +285,7 @@
(bibtex_include
command: _ @keyword.import
- paths: (curly_group_path_list) @string)
+ paths: (curly_group_path_list) @string.special.path)
(biblatex_include
"\\addbibresource" @keyword.import
@@ -289,7 +293,15 @@
(graphics_include
command: _ @keyword.import
- path: (curly_group_path) @string)
+ path: (curly_group_path) @string.special.path)
+
+(svg_include
+ command: _ @keyword.import
+ path: (curly_group_path) @string.special.path)
+
+(inkscape_include
+ command: _ @keyword.import
+ path: (curly_group_path) @string.special.path)
(tikz_library_import
command: _ @keyword.import