diff options
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index c350e5ad1..9488297b4 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -173,13 +173,30 @@ (float) @float [ - (nil) (true) (false) ] @boolean -(comment) @comment -(comment) @spell +(nil) @constant.builtin + +(comment) @comment @spell + +(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)) + (string_content) @spell ; Operators |
