Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/blade/highlights.scm')
-rw-r--r--runtime/queries/blade/highlights.scm18
1 files changed, 13 insertions, 5 deletions
diff --git a/runtime/queries/blade/highlights.scm b/runtime/queries/blade/highlights.scm
index 04a4b965..e6d27fad 100644
--- a/runtime/queries/blade/highlights.scm
+++ b/runtime/queries/blade/highlights.scm
@@ -1,8 +1,16 @@
-(directive) @tag
-(directive_start) @tag
-(directive_end) @tag
+; inherits: html
+
+(directive) @keyword.directive
+(directive_start) @keyword.directive
+(directive_end) @keyword.directive
(comment) @comment
+
+; merged with blade punctuation
[
- (bracket_start)
- (bracket_end)
+ "{{"
+ "}}"
+ "{!!"
+ "!!}"
+ "("
+ ")"
] @punctuation.bracket