aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-08-31 23:27:53 +0200
committerPeter Odding <peter@peterodding.com>2011-08-31 23:27:53 +0200
commitd2a2cb54b84f6679c02e8634ec8db49eb368fe15 (patch)
tree1a0966d70b6c243e6be13d584302d13d6bd066b1 /doc
parent2860329687750c271135e28e24fe5fc9034c9c74 (diff)
downloadvim-easytags-d2a2cb54b84f6679c02e8634ec8db49eb368fe15.tar.gz
Make "easytags_dynamic_files" create missing tags files
Suggested by Strahinja Marković in GitHub issue #15: https://github.com/xolox/vim-easytags/issues/15
Diffstat (limited to 'doc')
-rw-r--r--doc/easytags.txt22
1 files changed, 9 insertions, 13 deletions
diff --git a/doc/easytags.txt b/doc/easytags.txt
index b9d768a..40e06f4 100644
--- a/doc/easytags.txt
+++ b/doc/easytags.txt
@@ -149,13 +149,12 @@ instead of the global tags file:
>
:let g:easytags_dynamic_files = 1
-When you enable this option, the easytags plug-in will use the first filename
-returned by |tagfiles()| as the tags file to write. Note that 'tagfiles()' is
-reevaluated every time the plug-in runs.
+When you enable this option, the easytags plug-in will expand the |'tags'|
+option and use the first filename (whether the file exists or not). The tags
+option is reevaluated each time the plug-in runs, so the results can differ
+depending on the location of the current buffer or working directory.
-If you've also enabled |g:easytags_by_filetype| the project specific tags file
-must exist, even if it's empty; otherwise |g:easytags_by_filetype| will take
-precedence.
+Note that this option takes precedence over |g:easytags_by_filetype|.
-------------------------------------------------------------------------------
The *g:easytags_by_filetype* option
@@ -169,14 +168,11 @@ existing directory. The easytags plug-in will create separate tags files for
each file type in the configured directory. These tags files are automatically
registered by the easytags plug-in when the file type of a buffer is set.
-If you've also enabled |g:easytags_dynamic_files| and the project specific
-tags file exists, and is writable, it will take precedence. If the project
-specific tags file doesn't exist you can indicate you want to use project
-specific tags by creating it.
+Note that the |g:easytags_dynamic_files| option takes precedence over this
+option.
-Note that if you already have a global tags file you can create file type
-specific tags files from the global tags file using the command
-':TagsByFileType'.
+If you already have a global tags file you can create file type specific tags
+files from the global tags file using the command ':TagsByFileType'.
-------------------------------------------------------------------------------
The *g:easytags_always_enabled* option