aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ruby')
-rw-r--r--runtime/queries/ruby/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/ruby/highlights.scm b/runtime/queries/ruby/highlights.scm
index 5aa518a28..3116e06b7 100644
--- a/runtime/queries/ruby/highlights.scm
+++ b/runtime/queries/ruby/highlights.scm
@@ -225,20 +225,24 @@
(program
(comment)+ @comment.documentation
+ .
(class))
(module
(comment)+ @comment.documentation
+ .
(body_statement
(class)))
(class
(comment)+ @comment.documentation
+ .
(body_statement
(method)))
(body_statement
(comment)+ @comment.documentation
+ .
(method))
; Operators