mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.3047: increment and decrement don't allow for next command
Problem: Increment and decrement don't allow for next command. Solution: Allow for comment and next command. (closes #8442)
This commit is contained in:
@@ -1889,6 +1889,10 @@ def Test_inc_dec()
|
||||
assert_equal(8, nr)
|
||||
--nr
|
||||
assert_equal(7, nr)
|
||||
++nr | ++nr
|
||||
assert_equal(9, nr)
|
||||
++nr # comment
|
||||
assert_equal(10, nr)
|
||||
|
||||
var ll = [1, 2]
|
||||
--ll[0]
|
||||
|
Reference in New Issue
Block a user