Mercurial > vim
diff runtime/doc/eval.txt @ 515:04dcb5a1f2f9
updated for version 7.0144
author | vimboss |
---|---|
date | Fri, 09 Sep 2005 19:49:30 +0000 |
parents | 35cde31bdcbd |
children | d50452846776 |
line wrap: on
line diff
--- 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