Commit 833f18e 1 parent f1a4cce commit 833f18e Copy full SHA for 833f18e
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -861,8 +861,8 @@ contexts:
861
861
scope: support.function.builtin.ruby
862
862
push: function-call-arguments
863
863
# Lambda operator from the Kernel class not handled elsewhere
864
- - match : ->
865
- scope : support .function.builtin .ruby
864
+ - match : ' -> '
865
+ scope : meta .function.ruby storage.type.function.ruby keyword.declaration.function.lambda .ruby
866
866
push : function-call-arguments
867
867
# Methods from the Module class not handled elsewhere
868
868
- match : |-
Original file line number Diff line number Diff line change @@ -1129,7 +1129,7 @@ class MyClass
1129
1129
#^^^^ support.function.builtin
1130
1130
1131
1131
->
1132
- #^^ support .function.builtin
1132
+ #^^ meta .function.ruby storage.type.function.ruby keyword.declaration.function.lambda.ruby
1133
1133
1134
1134
1135
1135
##################
You can’t perform that action at this time.
0 commit comments