@willbooster/tree-sitter-ruby 3.0.6 → 3.0.7

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
@@ -87,9 +87,10 @@ module.exports = grammar({
87
87
  $._uninterpreted,
88
88
  $._not_parenthesized,
89
89
  $._lambda_brace,
90
+ $._heredoc_literal_resume,
90
91
  ],
91
92
 
92
- extras: ($) => [$.comment, $.heredoc_body, /\s/, /\\\r?\n/],
93
+ extras: ($) => [$.comment, $.heredoc_body, $._heredoc_literal_resume, /\s/, /\\\r?\n/],
93
94
 
94
95
  word: ($) => $.identifier,
95
96
 
@@ -1621,6 +1622,7 @@ module.exports = grammar({
1621
1622
  seq(
1622
1623
  '\\',
1623
1624
  choice(
1625
+ /\r\n/,
1624
1626
  /[^ux0-7]/, // single character
1625
1627
  /x[0-9a-fA-F]{1,2}/, // hex code
1626
1628
  /[0-7]{1,3}/, // octal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-ruby",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
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": "3.0.6",
22
+ "version": "3.0.7",
23
23
  "license": "MIT",
24
24
  "description": "Ruby grammar for tree-sitter",
25
25
  "authors": [