From a339a8c4409f547e3e2bfd1e1c48975536935b46 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Tue, 14 Apr 2015 22:18:52 +0200 Subject: Improve documentation of `easytags_dynamic_files' option See also issue 92 and issue 116 on GitHub: - https://github.com/xolox/vim-easytags/issues/92 - https://github.com/xolox/vim-easytags/issues/116 --- doc/easytags.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/easytags.txt b/doc/easytags.txt index 0b1af2b..1aa71ee 100644 --- a/doc/easytags.txt +++ b/doc/easytags.txt @@ -292,10 +292,15 @@ plug-in falls back to the global tags file (or a file type specific tags file). If you set |g:easytags_dynamic_files| to 2 the easytags plug-in will automatically create a project specific tags file based on the first name in -the 'tags' option. In this mode the global tags file and/or file type specific -tags files are only used for directories where you don't have write +the |'tags'| option. In this mode the global tags file and/or file type +specific tags files are only used for directories where you don't have write permissions. +When you set |g:easytags_dynamic_files| to 2 new tags files are created in the +same directory as the file you're editing. If you want the tags files to be +created in your working directory instead then change Vim's |'cpoptions'| +option to include the lowercase letter 'd'. + The |'tags'| option is reevaluated each time the plug-in runs, so which tags file is selected can differ depending on the buffer and working directory. -- cgit v1.2.3