0
0
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:
Bram Moolenaar
2021-06-25 19:29:30 +02:00
parent b420ac9d20
commit f3d30842dc
4 changed files with 14 additions and 4 deletions

View File

@@ -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]