Skip to content

Commit

Permalink
Merge pull request #117: Fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Apr 14, 2015
2 parents b05ac67 + 208ad3b commit da53e3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -121,7 +121,7 @@ By default `:UpdateTags` only writes to the global tags file, but it can be conf

You can change the name of the tags file, the important thing is that it's relative to your working directory or the buffer (using a leading `./`). When `g:easytags_dynamic_files` is set to 1 the easytags plug-in will write to the first existing tags file seen by Vim (based on the ['tags' option] [tags_opt]). In other words: If a project specific tags file is found it will be used, otherwise the 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 project specific tags based on the first name in the 'tags' option. In this mode the the global tags file or file type specific tags files are only used for directories where you don't have write permissions.
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 permissions.

The ['tags' option] [tags_opt] is reevaluated each time the plug-in runs, so which tags file is selected can differ depending on the buffer and working directory.

Expand Down
7 changes: 4 additions & 3 deletions doc/easytags.txt
Expand Up @@ -291,9 +291,10 @@ words: If a project specific tags file is found it will be used, otherwise the
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 project specific tags based on the first name in the
'tags' option. In this mode the the global tags file or file type specific tags
files are only used for directories where you don't have write permissions.
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
permissions.

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.
Expand Down

0 comments on commit da53e3b

Please sign in to comment.