summaryrefslogtreecommitdiff
path: root/lib/syntax_suggest/capture_code_context.rb
diff options
context:
space:
mode:
authorschneems <[email protected]>2022-11-29 14:09:20 -0600
committerHiroshi SHIBATA <[email protected]>2022-11-30 12:58:47 +0900
commitd6e91784ab78c25e864869b05a149e7c9cfeab7d (patch)
tree9f6d98f11deeeff36f236c79db601f30e5f0acdf /lib/syntax_suggest/capture_code_context.rb
parent33a9a7fd8d22ea5d87789e64a931dd03d28d9407 (diff)
Update SyntaxSuggest to use angle brackets `>`
``` $ ruby tool/sync_default_gems.rb syntax_suggest Sync ruby/syntax_suggest ``` https://github.com/ruby/syntax_suggest/pull/161
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6831
Diffstat (limited to 'lib/syntax_suggest/capture_code_context.rb')
-rw-r--r--lib/syntax_suggest/capture_code_context.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_suggest/capture_code_context.rb b/lib/syntax_suggest/capture_code_context.rb
index 6439af4dde..7d6a550612 100644
--- a/lib/syntax_suggest/capture_code_context.rb
+++ b/lib/syntax_suggest/capture_code_context.rb
@@ -140,7 +140,7 @@ module SyntaxSuggest
# However due to https://github.com/ruby/syntax_suggest/issues/32
# the problem line will be identified as:
#
- # ❯ class Dog # 1
+ # > class Dog # 1
#
# Because lines 2, 3, and 4 are technically valid code and are expanded
# first, deemed valid, and hidden. We need to un-hide the matching end
@@ -200,7 +200,7 @@ module SyntaxSuggest
#
# the problem line will be identified as:
#
- # ❯ end # 4
+ # > end # 4
#
# This happens because lines 1, 2, and 3 are technically valid code and are expanded
# first, deemed valid, and hidden. We need to un-hide the matching keyword on