diff options
| author | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-28 18:35:20 +0100 |
|---|---|---|
| committer | Jurica Bradaric <jbradaric@gmail.com> | 2016-02-01 09:04:08 +0100 |
| commit | 208f9dd09d6d9d12679ad57cf1583f330665f7ad (patch) | |
| tree | c7e1a7a53fe8f80d72ec2c983173fb2e7a8539c1 /src/nvim/testdir | |
| parent | 76086b36b777440a79b77e8c7a3670f5b0003917 (diff) | |
| download | rneovim-208f9dd09d6d9d12679ad57cf1583f330665f7ad.tar.gz rneovim-208f9dd09d6d9d12679ad57cf1583f330665f7ad.tar.bz2 rneovim-208f9dd09d6d9d12679ad57cf1583f330665f7ad.zip | |
vim-patch:7.4.740
Problem: ":1quit" works like ":.quit". (Bohr Shaw)
Solution: Don't exit Vim when a range is specified. (Christian Brabandt)
https://github.com/vim/vim/commit/c7a0d32c834ff321491d8fd7bc68bf6cabd11e44
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test13.in | 6 | ||||
| -rw-r--r-- | src/nvim/testdir/test13.ok | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test13.in b/src/nvim/testdir/test13.in index cb8a6fff89..cbf78c7367 100644 --- a/src/nvim/testdir/test13.in +++ b/src/nvim/testdir/test13.in @@ -48,6 +48,12 @@ otestje3 :au BufWipeout Xtestje1 buf Xtestje1 :bwipe :w >>test.out +:only +:help +:wincmd w +:1quit +:$put ='Final line' +:$w >>test.out :qa! ENDTEST diff --git a/src/nvim/testdir/test13.ok b/src/nvim/testdir/test13.ok index 0f1fc347a4..66ebce63f7 100644 --- a/src/nvim/testdir/test13.ok +++ b/src/nvim/testdir/test13.ok @@ -28,3 +28,4 @@ testje1 contents contents end of testfile +Final line |