Ruby highlights: Unify call and method_call (follow tree-sitter-ruby)

This commit is contained in:
Stephan Seitz 2020-12-16 10:08:27 +01:00 committed by Stephan Seitz
parent 74d3d815b6
commit 5f20329e96

View file

@ -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)$"))