Commit Graph

296 Commits

Author SHA1 Message Date
Jan Larres
e321d85548 Don't open all folds when jumping to tag 2012-07-31 16:42:33 +12:00
Jan Larres
f3c1a93017 Make 'open' commands a bit more intuitive 2012-07-31 16:42:18 +12:00
Jan Larres
e690a5e97d Cache files locally for parsing
Files are now cached locally in a temporary file, and the parsing
happens on that file. This allows displaying tags for remote (Netrw)
files, and it will also make access to files on remote filesystems like
NFS and sshfs faster.

Additionally, tags are now always updated when the files are saved,
deprecating the tagbar_updateonsave_maxlines option. Otherwise checking
for changes in remote files would not have been possible.
2012-07-22 21:49:17 +12:00
Jan Larres
052bc7972b Correct latest stable ctags version for latex support 2012-07-22 18:14:14 +12:00
Jan Larres
f1c6d8c780 Clarify LaTeX support in manual 2012-07-21 23:51:01 +12:00
Jan Larres
1757b33da7 Explain feature requirements in systemenc doc 2012-07-21 21:08:33 +12:00
Jan Larres
427d709f61 Only attempt encoding conversion if compiled with +multi_byte 2012-07-21 20:59:23 +12:00
Jan Larres
49d39cae6c Add 'abort' keyword to all functions 2012-07-20 01:24:16 +12:00
Jan Larres
6a7f155874 Version 2.4.1 2012-07-16 21:38:20 +12:00
Jan Larres
768cd6b908 Only check for ctags when a function is called
If ctags isn't installed, then until now most of the autoload script
would have been skipped, leaving functions like tagbar#currenttag()
undefined. Move the ctags check to the exuberant-ctags checking function
to prevent errors in this case.
2012-07-01 19:21:44 +12:00
Jan Larres
4981cf9896 Handle missing ctags more gracefully in currenttag
If tagbar#currenttag() was used in a statusline on a system that had
Tagbar installed, but not ctags, then an error was reported on every
statusline update. Change the ctags checking so that errors in
currenttag() fail silently while still reporting an error message if
Tagbar is opened normally.
2012-07-01 18:48:00 +12:00
Jan Larres
fd9ac426e9 Clarification for custom tags programs 2012-06-29 02:08:01 +12:00
Jan Larres
4dabb96014 Update types for vim, sql and actionscript
Some of the type configurations were not up to date with the latest
ctags version. Thanks to David Fishburn for providing the information.
2012-06-24 18:57:50 +12:00
Jan Larres
7f95420284 Disable spellchecking in Tagbar window, closes #83 2012-06-23 16:39:07 +12:00
Jan Larres
44ce05fb5d Fix highlighting tags in closed folds
If a tag was in a closed fold that was itself in a closed fold, and
those folds existed since the initial display (for example by using the
g:tagbar_foldlevel option), then intermediate tags could have invalid
tline values which resulted in the search pattern failing.
2012-06-23 01:30:45 +12:00
Jan Larres
9ae2b2d818 Add highlight pattern debug message 2012-06-22 22:25:03 +12:00
Jan Larres
2e0d125b79 Explicitly load plugin file if necessary 2012-06-19 16:49:55 +12:00
Jan Larres
5ee3143b5a Version 2.4 2012-06-17 21:19:42 +12:00
Jan Larres
c4b1d65c46 Explain highlighting update time 2012-06-16 22:01:55 +12:00
Jan Larres
a2652b26a0 Add missing command help tags 2012-06-16 21:52:51 +12:00
Jan Larres
c5f91a5b76 Add command for easy type customization 2012-06-16 21:46:54 +12:00
Jan Larres
ee1c4e137e Always highlight current tag when using TagbarOpen, closes #73 2012-05-12 20:07:04 +12:00
Jan Larres
272e2e8478 Escape some special characters for cmd.exe 2012-04-30 16:40:28 +12:00
Jan Larres
814bb41ecf Highlight correct tag when opening tagbar 2012-04-22 04:28:28 +12:00
Jan Larres
f14c81770b Fix small bug in RestoreSession 2012-04-15 23:10:58 +12:00
Jan Larres
bbe5579c89 Allow the full hierarchy to be displayed in currenttag() 2012-04-15 23:10:34 +12:00
Jan Larres
eab0e67d1b Make use of improved latex support in ctags if available 2012-04-02 18:30:18 +12:00
Jan Larres
497575a3a3 Highlight all tags instead of just stl-configured ones 2012-03-31 20:25:05 +13:00
Jan Larres
3a049c0f82 Mention that a pattern should be used in tag format 2012-03-16 23:56:26 +13:00
Jan Larres
d29690005d Move default column definition into tag init function 2012-03-16 23:51:35 +13:00
Jan Larres
540472bcd3 Describe tag file format supported 2012-03-16 23:49:49 +13:00
Jan Larres
f6a02c9e24 Use spaces instead of tabs in help file 2012-03-16 02:33:27 +13:00
Jan Larres
f7d966c596 Support column: extension field 2012-03-14 23:10:31 +13:00
Jan Larres
86b49e6949 Make SetFoldlevel respect default-closed folds without '!', closes #61 2012-03-14 22:42:59 +13:00
Jan Larres
774c964f28 Use prototypes for the type information 2012-03-14 22:42:59 +13:00
Jan Larres
dd84a57c6e Move parsing of user type defs into separate function 2012-03-08 18:06:51 +13:00
Jan Larres
a9209b4367 Remove access info from currenttag() 2012-03-05 23:31:11 +13:00
Jan Larres
134207bc41 Allow types for tagbar#currenttag() to be configured 2012-03-04 20:52:15 +13:00
Jan Larres
c0ed890b60 Disable debug mode by default, closes #67 2012-02-29 02:35:47 +13:00
Jan Larres
c18599234e Align help tags better 2012-02-29 00:33:27 +13:00
Jan Larres
d9857cf204 Add function that returns the current tag, closes #59 2012-02-29 00:21:50 +13:00
Jan Larres
091f6336c8 Save some unnecessary redrawings 2012-02-28 22:46:04 +13:00
Jan Larres
3e8e8775be Create sub-kind headers as base tags to allow folding of parents 2012-02-28 22:45:11 +13:00
Jan Larres
592dc6856a Update online help 2012-02-28 22:10:41 +13:00
Jan Larres
4eb89e4a53 Don't handle sub-kind headers as tags 2012-02-28 22:10:16 +13:00
Jan Larres
efca11881d Remove unneeded function 2012-02-28 02:38:39 +13:00
Jan Larres
64b8bf7447 Reorder some functions 2012-02-28 02:34:01 +13:00
Jan Larres
42ef608aae Mention the Taglist behaviour in autoopen options 2012-02-27 23:19:50 +13:00
Jan Larres
2ba944b162 Correct focus on startup under certain circumstances, closes #60 2012-02-23 20:49:16 +13:00
Jan Larres
08b474b59f Add some more debugging messages 2012-02-23 20:43:13 +13:00