@willbooster/tree-sitter-ruby 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/grammar.js CHANGED
@@ -301,7 +301,7 @@ module.exports = grammar({
301
301
  yield_command: ($) => prec.left(seq('yield', alias($.command_argument_list, $.argument_list))),
302
302
  break_command: ($) => prec.left(seq('break', alias($.command_argument_list, $.argument_list))),
303
303
  next_command: ($) => prec.left(seq('next', alias($.command_argument_list, $.argument_list))),
304
- return: ($) => prec.left(seq('return', optional($.argument_list))),
304
+ return: () => prec.left('return'),
305
305
  yield: ($) => prec.left(seq('yield', optional($.argument_list))),
306
306
  break: ($) => prec.left(seq('break', optional($.argument_list))),
307
307
  next: ($) => prec.left(seq('next', optional($.argument_list))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-ruby",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Ruby grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -19,7 +19,7 @@
19
19
  }
20
20
  ],
21
21
  "metadata": {
22
- "version": "2.0.7",
22
+ "version": "2.0.8",
23
23
  "license": "MIT",
24
24
  "description": "Ruby grammar for tree-sitter",
25
25
  "authors": [