mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0221
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 10
|
*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -996,7 +996,7 @@ items:
|
|||||||
menu extra text for the popup menu
|
menu extra text for the popup menu
|
||||||
info more information about the item
|
info more information about the item
|
||||||
kind single letter indicating the type of completion
|
kind single letter indicating the type of completion
|
||||||
icase when not zero case is to be ignored; when omitted
|
icase when non-zero case is to be ignored; when omitted
|
||||||
the 'ignorecase' option is used
|
the 'ignorecase' option is used
|
||||||
|
|
||||||
All of these except 'icase' must be a string. If an item does not meet these
|
All of these except 'icase' must be a string. If an item does not meet these
|
||||||
@@ -1004,15 +1004,19 @@ requirements then an error message is given and further items in the list are
|
|||||||
not used. You can mix string and Dictionary items in the returned list.
|
not used. You can mix string and Dictionary items in the returned list.
|
||||||
|
|
||||||
The "menu" item is used in the popup menu and may be truncated, thus it should
|
The "menu" item is used in the popup menu and may be truncated, thus it should
|
||||||
be relatively short. The "info" item can be longer, it may be displayed in a
|
be relatively short. The "info" item can be longer, it will be displayed in
|
||||||
balloon.
|
the preview window when "preview" appears in 'completeopt'. The "info" item
|
||||||
|
will also remain displayed after the popup menu has been removed. This is
|
||||||
|
useful for function arguments.
|
||||||
|
|
||||||
The "kind" item uses a single letter to indicate the kind of completion. This
|
The "kind" item uses a single letter to indicate the kind of completion. This
|
||||||
may be used to show the completion differently (different color or icon).
|
may be used to show the completion differently (different color or icon).
|
||||||
Currently these types can be used:
|
Currently these types can be used:
|
||||||
v variable
|
v variable
|
||||||
f function or method
|
f function or method
|
||||||
c composite (struct, object)
|
m member of a struct or class
|
||||||
|
t typedef
|
||||||
|
d #define or macro
|
||||||
|
|
||||||
When searching for matches takes some time call |complete_add()| to add each
|
When searching for matches takes some time call |complete_add()| to add each
|
||||||
match to the total list. These matches should then not appear in the returned
|
match to the total list. These matches should then not appear in the returned
|
||||||
@@ -1268,15 +1272,22 @@ here: http://ctags.sourceforge.net/
|
|||||||
Script completes:
|
Script completes:
|
||||||
|
|
||||||
- after $ variables name
|
- after $ variables name
|
||||||
|
- if variable was declared as object add "->", if tags file is available show
|
||||||
|
name of class
|
||||||
|
|
||||||
- function names with additonal info:
|
- function names with additonal info:
|
||||||
- in case of built-in functions list of possible arguments and after | type
|
- in case of built-in functions list of possible arguments and after | type
|
||||||
data returned by function
|
data returned by function
|
||||||
- in case of user function arguments and name of file were function was
|
- in case of user function arguments and name of file were function was
|
||||||
defined (if it is not current file)
|
defined (if it is not current file)
|
||||||
|
|
||||||
|
- constants names
|
||||||
|
- class names after "new" declaration
|
||||||
|
|
||||||
|
|
||||||
Note: when doing completion first time Vim will load all necessary data into
|
Note: when doing completion first time Vim will load all necessary data into
|
||||||
memory. It may take several seconds. After next use of completion delay
|
memory. It may take several seconds. After next use of completion delay
|
||||||
shouldn't be noticeable.
|
should not be noticeable.
|
||||||
|
|
||||||
Script detects if cursor is inside <?php ?> tags. If it is outside it will
|
Script detects if cursor is inside <?php ?> tags. If it is outside it will
|
||||||
automatically switch to HTML/CSS/JavaScript completion. Note: contrary to
|
automatically switch to HTML/CSS/JavaScript completion. Note: contrary to
|
||||||
|
@@ -25,6 +25,7 @@ int parse_compl_arg __ARGS((char_u *value, int vallen, int *complp, long *argt,
|
|||||||
void not_exiting __ARGS((void));
|
void not_exiting __ARGS((void));
|
||||||
void tabpage_close __ARGS((int forceit));
|
void tabpage_close __ARGS((int forceit));
|
||||||
void tabpage_close_other __ARGS((tabpage_T *tp, int forceit));
|
void tabpage_close_other __ARGS((tabpage_T *tp, int forceit));
|
||||||
|
void ex_all __ARGS((exarg_T *eap));
|
||||||
void handle_drop __ARGS((int filec, char_u **filev, int split));
|
void handle_drop __ARGS((int filec, char_u **filev, int split));
|
||||||
void alist_clear __ARGS((alist_T *al));
|
void alist_clear __ARGS((alist_T *al));
|
||||||
void alist_init __ARGS((alist_T *al));
|
void alist_init __ARGS((alist_T *al));
|
||||||
|
@@ -3084,10 +3084,9 @@ jumpto_tag(lbuf, forceit, keep_help)
|
|||||||
#if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
|
#if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
|
||||||
if (g_do_tagpreview)
|
if (g_do_tagpreview)
|
||||||
{
|
{
|
||||||
/* don't split again below */
|
postponed_split = 0; /* don't split again below */
|
||||||
postponed_split = 0;
|
curwin_save = curwin; /* Save current window */
|
||||||
/* Save current window */
|
|
||||||
curwin_save = curwin;
|
|
||||||
/*
|
/*
|
||||||
* If we are reusing a window, we may change dir when
|
* If we are reusing a window, we may change dir when
|
||||||
* entering it (autocommands) so turn the tag filename
|
* entering it (autocommands) so turn the tag filename
|
||||||
|
Reference in New Issue
Block a user