diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-21 06:08:50 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-21 06:10:42 +0800 |
commit | 94f12e8a5947a31a3fca07c8df75ab62fef7b1a3 (patch) | |
tree | 65ce5c681fdc836bd67224165ba634eb842604bb /test/functional/options/cursorbind_spec.lua | |
parent | 4c5a2e8ebfab9a91fea8f6750354d202ea7ac48a (diff) | |
download | rneovim-94f12e8a5947a31a3fca07c8df75ab62fef7b1a3.tar.gz rneovim-94f12e8a5947a31a3fca07c8df75ab62fef7b1a3.tar.bz2 rneovim-94f12e8a5947a31a3fca07c8df75ab62fef7b1a3.zip |
vim-patch:8.2.4801: fix for cursorbind fix not fully tested
Problem: Fix for cursorbind fix not fully tested.
Solution: Add another test case. (Christian Brabandt, closes vim/vim#10240)
https://github.com/vim/vim/commit/3fd7480cd25f1e939fc2362e0644d497bcc81b71
Diffstat (limited to 'test/functional/options/cursorbind_spec.lua')
-rw-r--r-- | test/functional/options/cursorbind_spec.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/functional/options/cursorbind_spec.lua b/test/functional/options/cursorbind_spec.lua index 3e8545a065..f762808dd6 100644 --- a/test/functional/options/cursorbind_spec.lua +++ b/test/functional/options/cursorbind_spec.lua @@ -74,5 +74,18 @@ describe("'cursorbind'", function() {3:[No Name] [+] }{2:[No Name] [+] }| | ]]) + command('windo :set nocursorline nocursorcolumn') + feed('0') + feed('40l') + screen:expect([[ + kk ll mm nn oo pp qq{3:│} bb cc dd ee ff gg hh ii jj kk ll mm n^n| + {3:│} | + {3:│} | + {3:│} | + {3:│} | + {1:~ }{3:│}{1:~ }| + {3:[No Name] [+] }{2:[No Name] [+] }| + | + ]]) end) end) |