From 89f9205ff840329aa75166249a99b1d0f227d661 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Mon, 9 Aug 2010 17:52:56 +0200 Subject: Enable commands like :UpdateTags -R ~/.vim * The :UpdateTags command now passes any arguments given to it on to Exuberant Ctags, which sounds simple enough but required a complex implementation. This means users can now do things like: :UpdateTags -R ~/.vim Because Ctags can be run easily from inside Vim, users won't have to run it manually from the command line. The plug-in also makes sure the required command-line options to Ctags are always used. * Fixed a problem most users will probably never encounter. I'm not sure whether this is by design or an implementation detail but it's possible for the "!_TAG_FILE_SORTED" header to appear after one or more tags and Vim will apparently still use the header! For this reason the easytags#write_tagsfile() function should also recognize it, otherwise Vim might complain with "E432: Tags file not sorted". * Always sort tags in easytags#write_tagsfile() (understands foldcase) * Finally documented the :UpdateTags and :HighlightTags commands. * The dynamic highlighting can now be disabled for individual buffers, which can come in handy when the highlighting conflicts with another plug-in: Just set the 'b:easytags_nohl' variable to any value. * Removed hard wrapping from README.md because I've recently switched to a 21" external monitor ;-) --- TODO.md | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 4bc7b19..ff54689 100644 --- a/TODO.md +++ b/TODO.md @@ -34,10 +34,4 @@ `~/Development/Vim/vim-easytags/autoload.vim`). I was already editing `~/.vim/autoload/easytags.vim` in another Vim buffer. - * Convert `easytags#update_cmd()` to a function that can be executed on a - list of files and will only execute Exuberant Ctags once to do so, then - change `:UpdateTags` to accept an optional file glob, e.g. `:UpdateTags - /usr/include/lua5.1/*.h` and call `easytags#update_cmd()` on the matching - files. - vim: ai nofen -- cgit v1.2.3