From 4df41adeff4579d16d0a2ad125e13b7c7a90344f Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Mon, 13 Jun 2011 18:16:25 +0200 Subject: Basic support for file type specific tags files! --- doc/easytags.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/easytags.txt b/doc/easytags.txt index 5db1301..4a6a394 100644 --- a/doc/easytags.txt +++ b/doc/easytags.txt @@ -131,6 +131,18 @@ 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. +------------------------------------------------------------------------------- +The *g:easytags_by_filetype* option + +By default all tags are stored in a global tags file. When the tags file grows +beyond a certain size Vim will be slowed down by the easytags plug-in because +it has to read and process a large number of tags very frequently. + +To avoid this problem you can set |g:easytags_by_filetype| to the path of an +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. + ------------------------------------------------------------------------------- The *g:easytags_always_enabled* option -- cgit v1.2.3