Age | Commit message (Collapse) | Author |
|
This commit suppresses a strange behavior below:
if true
1[cursor]
end
and press down key
if true
1
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The operators are using @waiting_operator_proc in vi mode.
|
|
|
|
|
|
|
|
|
|
Closes: https://github.com/ruby/ruby/pull/2221
|
|
Closes: https://github.com/ruby/ruby/pull/2222
|
|
Closes: https://github.com/ruby/ruby/pull/2222
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Let's say we are in progress to write `"foo"`:
```
irb> "fo
```
at this moment, nothing is wrong.
It would be just a normal way to write `"foo"`.
Prior to this commit, the `fo` part was warned because of
5b64d7ac6e7cbf759b859428f125539e58bac0bd. But I think warning such a
normal input is not valuable for users.
However, we'd like to warn `:@1` or `@@1` which is also a syntax error.
Then this commit switches the syntax highlight based on whether the
input text is finished or not. When it's not finished yet, it does not
warn compile_error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 77bfebebc44c5e46ebd156d074081846c037f882.
|
|
|
|
|