diff options
-rw-r--r-- | runtime/doc/eval.txt | 12 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 | ||||
-rw-r--r-- | src/version.h | 4 |
3 files changed, 15 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index f55083c93..e8e3c245e 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0aa. Last change: 2005 Sep 05 +*eval.txt* For Vim version 7.0aa. Last change: 2005 Sep 09 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1644,7 +1644,8 @@ synIDattr( {synID}, {what} [, {mode}]) String attribute {what} of syntax ID {synID} synIDtrans( {synID}) Number translated syntax ID of {synID} system( {expr} [, {input}]) String output of shell command/filter {expr} -taglist({expr}) List list of tags matching {expr} +taglist( {expr}) List list of tags matching {expr} +tagfiles() List tags files used tempname() String name for a temporary file tolower( {expr}) String the String {expr} switched to lowercase toupper( {expr}) String the String {expr} switched to uppercase @@ -2643,6 +2644,9 @@ getqflist() *getqflist()* type type of the error, 'E', '1', etc. valid non-zero: recognized error message + When there is no error list or it's empty an empty list is + returned. + Useful application: Find pattern matches in multiple files and do something with them: > :vimgrep /theword/jg *.c @@ -4295,6 +4299,10 @@ taglist({expr}) *taglist()* located by Vim. Refer to |tags-file-format| for the format of the tags file generated by the different ctags tools. + *tagfiles* +tagfiles() Returns a List with the file names used to search for tags for + the current buffer. This is the 'tags' option expanded. + tempname() *tempname()* *temp-file-name* The result is a String, which is the name of a file that diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 20d0e9f16..ae1a07e4b 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.0aa. Last change: 2005 Sep 01 +*options.txt* For Vim version 7.0aa. Last change: 2005 Sep 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -6275,6 +6275,8 @@ A jump table for the options with a short description can be found at |Q_op|. "*", "**" and other wildcards can be used to search for tags files in a directory tree. See |file-searching|. {not available when compiled without the |+path_extra| feature} + The |tagfiles()| function can be used to get a list of the file names + actually used. If Vim was compiled with the |+emacs_tags| feature, Emacs-style tag files are also supported. They are automatically recognized. The default value becomes "./tags,./TAGS,tags,TAGS", unless case diff --git a/src/version.h b/src/version.h index 97b2f9a54..2b6a11014 100644 --- a/src/version.h +++ b/src/version.h @@ -36,5 +36,5 @@ #define VIM_VERSION_NODOT "vim70aa" #define VIM_VERSION_SHORT "7.0aa" #define VIM_VERSION_MEDIUM "7.0aa ALPHA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 7)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 7, compiled " +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 9)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 9, compiled " |