diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-05-01 16:49:37 -0400 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-05-01 16:49:37 -0400 |
commit | 205466830207a920c62146b7b689fac2e395431a (patch) | |
tree | fa720c8066d58f6d5e173930ab5b4096ce09b9d4 /test/functional/ui/screen_basic_spec.lua | |
parent | cc76c5b0cfb6233ff36949a4422d59cd4bc6efd5 (diff) | |
parent | 71592a06fd1be6632bdadfd1481c33cc5b79632d (diff) | |
download | rneovim-205466830207a920c62146b7b689fac2e395431a.tar.gz rneovim-205466830207a920c62146b7b689fac2e395431a.tar.bz2 rneovim-205466830207a920c62146b7b689fac2e395431a.zip |
Merge pull request #2493 from Pyrohh/cleanup-patches-misc
[RFC] vim-patch: 7.4.{389, 659} + small cleanup
Diffstat (limited to 'test/functional/ui/screen_basic_spec.lua')
-rw-r--r-- | test/functional/ui/screen_basic_spec.lua | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/test/functional/ui/screen_basic_spec.lua b/test/functional/ui/screen_basic_spec.lua index 7710918b94..d57c1773b1 100644 --- a/test/functional/ui/screen_basic_spec.lua +++ b/test/functional/ui/screen_basic_spec.lua @@ -159,8 +159,6 @@ describe('Screen', function() | ]]) end) - - end) end) @@ -245,6 +243,32 @@ describe('Screen', function() end) end) + describe('normal mode', function() + -- https://code.google.com/p/vim/issues/detail?id=339 + it("setting 'ruler' doesn't reset the preferred column", function() + execute('set virtualedit=') + feed('i0123456<cr>789<esc>kllj') + execute('set ruler') + feed('k') + screen:expect([[ + 0123^456 | + 789 | + ~ | + ~ | + ~ | + ~ | + ~ | + ~ | + ~ | + ~ | + ~ | + ~ | + ~ | + :set ruler 1,5 All | + ]]) + end) + end) + describe('command mode', function() it('typing commands', function() feed(':ls') |