diff options
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index cef3d1f54..20b0a0ef2 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -39,6 +39,7 @@ "while" ] @repeat +(constant) @constant ((identifier) @keyword (#vim-match? @keyword "^(private|protected|public)$")) @@ -52,7 +53,7 @@ (call [ - receiver: (constant) @constant + receiver: (constant) @type method: [ (identifier) (constant) @@ -61,7 +62,7 @@ (method_call [ - receiver: (constant) @constant + receiver: (constant) @type method: [ (identifier) (constant) @@ -85,6 +86,7 @@ (class name: (constant) @type) (module name: (constant) @type) +(superclass (constant) @type) ; Identifiers [ @@ -98,8 +100,6 @@ ((constant) @constant.macro (#vim-match? @constant.macro "^[A-Z\\d_]+$")) -(constant) @constant - [ (self) (super) |
