mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
Merge pull request #1724 from fwalch/vim-7.4.452
vim-patch:7.4.449, vim-patch:7.4.452
This commit is contained in:
@@ -96,6 +96,9 @@ Help on help files *helphelp*
|
|||||||
find a tag in a file with the same language as the
|
find a tag in a file with the same language as the
|
||||||
current file. See |help-translated|.
|
current file. See |help-translated|.
|
||||||
|
|
||||||
|
*:helpc* *:helpclose*
|
||||||
|
:helpc[lose] Close one help window.
|
||||||
|
|
||||||
*:helpg* *:helpgrep*
|
*:helpg* *:helpgrep*
|
||||||
:helpg[rep] {pattern}[@xx]
|
:helpg[rep] {pattern}[@xx]
|
||||||
Search all help text files and make a list of lines
|
Search all help text files and make a list of lines
|
||||||
|
@@ -1242,6 +1242,7 @@ tag command action ~
|
|||||||
|:gvim| :gv[im] start the GUI
|
|:gvim| :gv[im] start the GUI
|
||||||
|:hardcopy| :ha[rdcopy] send text to the printer
|
|:hardcopy| :ha[rdcopy] send text to the printer
|
||||||
|:help| :h[elp] open a help window
|
|:help| :h[elp] open a help window
|
||||||
|
|:helpclose| :helpc[lose] close one help window
|
||||||
|:helpfind| :helpf[ind] dialog to open a help window
|
|:helpfind| :helpf[ind] dialog to open a help window
|
||||||
|:helpgrep| :helpg[rep] like ":grep" but searches help files
|
|:helpgrep| :helpg[rep] like ":grep" but searches help files
|
||||||
|:helptags| :helpt[ags] generate help tags for a directory
|
|:helptags| :helpt[ags] generate help tags for a directory
|
||||||
|
@@ -5644,6 +5644,18 @@ struct sign
|
|||||||
static sign_T *first_sign = NULL;
|
static sign_T *first_sign = NULL;
|
||||||
static int next_sign_typenr = 1;
|
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[] = {
|
static char *cmds[] = {
|
||||||
"define",
|
"define",
|
||||||
|
@@ -840,6 +840,11 @@ return {
|
|||||||
flags=bit.bor(BANG, EXTRA, NOTRLCOM),
|
flags=bit.bor(BANG, EXTRA, NOTRLCOM),
|
||||||
func='ex_help',
|
func='ex_help',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
command='helpclose',
|
||||||
|
flags=bit.bor(RANGE, NOTADR, COUNT, TRLBAR),
|
||||||
|
func='ex_helpclose',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
command='helpfind',
|
command='helpfind',
|
||||||
flags=bit.bor(EXTRA, NOTRLCOM),
|
flags=bit.bor(EXTRA, NOTRLCOM),
|
||||||
|
@@ -285,10 +285,10 @@ static int included_patches[] = {
|
|||||||
455,
|
455,
|
||||||
454,
|
454,
|
||||||
//453 NA
|
//453 NA
|
||||||
//452,
|
452,
|
||||||
//451,
|
//451,
|
||||||
//450,
|
//450,
|
||||||
//449,
|
449,
|
||||||
//448 NA
|
//448 NA
|
||||||
447,
|
447,
|
||||||
//446,
|
//446,
|
||||||
|
Reference in New Issue
Block a user