diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-23 14:50:36 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-23 14:50:36 -0500 |
commit | 44fabac4e0fd5567691d1e7c69da8db156936996 (patch) | |
tree | 0f3ee020b266cadc92d85b4a186378d5031d240b /src/nvim/ex_cmds.c | |
parent | 53b13d2a1854220ed289e07b5bc8443327a6c09c (diff) | |
parent | c4e0cd4418f5f6699d341446e791d05f9406a6bc (diff) | |
download | rneovim-44fabac4e0fd5567691d1e7c69da8db156936996.tar.gz rneovim-44fabac4e0fd5567691d1e7c69da8db156936996.tar.bz2 rneovim-44fabac4e0fd5567691d1e7c69da8db156936996.zip |
Merge pull request #1724 from fwalch/vim-7.4.452
vim-patch:7.4.449, vim-patch:7.4.452
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index a8d2f5589e..3278de3561 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -5644,6 +5644,18 @@ struct sign static sign_T *first_sign = NULL; static int next_sign_typenr = 1; +/* + * ":helpclose": Close one help window + */ +void ex_helpclose(exarg_T *eap) +{ + FOR_ALL_WINDOWS_IN_TAB(win, curtab) { + if (win->w_buffer->b_help) { + win_close(win, FALSE); + return; + } + } +} static char *cmds[] = { "define", |