aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'queries/ruby')
-rw-r--r--queries/ruby/highlights.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm
index 2b608d3cc..8de0251b1 100644
--- a/queries/ruby/highlights.scm
+++ b/queries/ruby/highlights.scm
@@ -211,6 +211,11 @@
(comment) @comment @spell
+((program
+ .
+ (comment) @keyword.directive @nospell)
+ (#lua-match? @keyword.directive "^#!/"))
+
(program
(comment)+ @comment.documentation
(class))