aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-04-10 20:34:48 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-04-10 20:38:16 -0400
commitd8d4f05564c32510f4ea7eb4f8ae5e3769f2f57d (patch)
treefb7c049d2af2046f3c56880798c66092e0f92ed5 /src/nvim/testdir
parentde2e86a698bb5a7dcd9119947cbeb272dc821bb1 (diff)
downloadrneovim-d8d4f05564c32510f4ea7eb4f8ae5e3769f2f57d.tar.gz
rneovim-d8d4f05564c32510f4ea7eb4f8ae5e3769f2f57d.tar.bz2
rneovim-d8d4f05564c32510f4ea7eb4f8ae5e3769f2f57d.zip
vim-patch:8.0.1411: reading invalid memory with CTRL-W :
Problem: Reading invalid memory with CTRL-W :. Solution: Correct the command characters. (closes vim/vim#2469) https://github.com/vim/vim/commit/2efb323e875d2852f63e41c40641760d1d6b069f
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_window_cmd.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_window_cmd.vim b/src/nvim/testdir/test_window_cmd.vim
index d3b496635d..003a23ea7b 100644
--- a/src/nvim/testdir/test_window_cmd.vim
+++ b/src/nvim/testdir/test_window_cmd.vim
@@ -691,4 +691,9 @@ func Test_winnr()
only | tabonly
endfunc
+func Test_window_colon_command()
+ " This was reading invalid memory.
+ exe "norm! v\<C-W>:\<C-U>echo v:version"
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab