diff options
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index 44967e989..42535f5d9 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -63,24 +63,15 @@ "defined?" @function (call - [ - receiver: (constant) @type + receiver: (constant)? @type method: [ (identifier) (constant) ] @function - ]) - -(method_call - [ - method: [ - (identifier) - (constant) - ] @function - ]) + ) (program - (method_call + (call (identifier) @include) (#vim-match? @include "^(require|require_relative|load)$")) |
