aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-06-14 00:29:49 +0200
committerPeter Odding <peter@peterodding.com>2011-06-14 00:29:49 +0200
commitca9a4d8847db5aed86d94c0223914aca64029ab3 (patch)
tree5d1d426e5c4f17771a7ac95c056b6ea384bbf060 /doc
parent1194a6b8a2e21db24fe051c0679d17b8a6878ebf (diff)
downloadvim-easytags-ca9a4d8847db5aed86d94c0223914aca64029ab3.tar.gz
Fix caching of tagged files (for file type specific tags files)
* The easytags plug-in caches known tagged files so it doesn't have to run :UpdateTags whenever you edit an existing file. The previous implementation was based on the assumption of one global tags file so wasn't compatible with the concept of file type specific tags files. This should now be fixed. * Previously the plug-in worked with a combination of parsed and unparsed tags file entries which made the code confusing. I've now cleaned this up so that the plug-in only keeps one type of data in memory. * Moved resetting of s:cached_filenames from the end to the start of the functions that call s:canonicalize() to avoid caching invalid data. PS. I've benchmarked two cache_tagged_files() implementations, one using taglist('.'), the other calling xolox#easytags#read_tagsfile() on each tags file reported by the tagfiles() function. It turns out that taglist('.') is very slow, which explains why I went with the code that calls xolox#easytags#read_tagsfile() in a loop.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions