summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-09 19:49:30 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-09 19:49:30 +0000
commite7eb9df59a955186784ef0c6508e230e5ad34728 (patch)
tree7936bc22dfcc0426d1037bd9013295f176a40e09 /runtime
parenta5373faa173bfecdceb60959d9b9df7bead1ab77 (diff)
updated for version 7.0144
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt12
-rw-r--r--runtime/doc/options.txt4
2 files changed, 13 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index f55083c93c..e8e3c245e2 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 20d0e9f169..ae1a07e4ba 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