diff options
author | Florian Walch <florian@fwalch.com> | 2015-01-08 08:26:00 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-01-08 08:27:40 +0100 |
commit | a240e3d686fc55798a2af3b93313a78e7c596b31 (patch) | |
tree | 1a10e32380a259da1ef0ab2506560f95858dc2ec /src/nvim/window.c | |
parent | 641f79099f09966d4843cbcf12b3c4f864566e04 (diff) | |
download | rneovim-a240e3d686fc55798a2af3b93313a78e7c596b31.tar.gz rneovim-a240e3d686fc55798a2af3b93313a78e7c596b31.tar.bz2 rneovim-a240e3d686fc55798a2af3b93313a78e7c596b31.zip |
vim-patch:7.4.466
Problem: CTRL-W } does not open preview window. (Erik Falor)
Solution: Don't set g_do_tagpreview for CTRL-W }.
https://code.google.com/p/vim/source/detail?r=v7-4-466
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index ed4a8d8e7a..0b862d2b0c 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -371,7 +371,10 @@ newwindow: postponed_split = Prenum; else postponed_split = -1; - g_do_tagpreview = 0; + + if (nchar != '}') { + g_do_tagpreview = 0; + } // Execute the command right here, required when // "wincmd ]" was used in a function. |