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
Jan Larres
a69cb8ce0b
Delete fileinfo also on BufUnload and BufWipeout
2012-02-23 00:00:24 +13:00
Jan Larres
4bf1d7024d
Mention user types in ftplugins in documentation
2012-02-19 17:57:00 +13:00
Jan Larres
ee389534e1
Allow loading type definitions from ftplugins, closes #62
2012-02-19 17:26:15 +13:00
Jan Larres
7e58b3fe23
Change kind header check in JumpToTag to proper function
2012-02-18 21:47:40 +13:00
Jan Larres
6eb2d65f41
Some clarifications in the documentation
2012-02-16 22:01:21 +13:00
Jan Larres
4d925ca324
Automatically detect ex-ctags as 'ectags' in OpenBSD
2012-02-12 19:21:37 +13:00
Jan Larres
b56f2c0db2
Support Vala if anjuta-tags is available
2012-02-12 18:37:05 +13:00
Jan Larres
2149951be0
Check filetypes supported by ctags during init
2012-02-12 18:36:45 +13:00
Jan Larres
0f3cca5a84
Give more precise information if specified ctags not found
2012-02-12 18:35:54 +13:00
Jan Larres
ba0123cc91
Fix bug when closing window before a valid files was seen
2012-02-02 21:07:13 +13:00
Jan Larres
392de7da25
Save new empty object for file if ctags output is empty, closes #57
2012-02-01 00:21:28 +13:00
Jan Larres
cca0f7798e
Add some debug messages
2012-01-31 20:59:06 +13:00
Jan Larres
8bb4a3c111
Abstract out window commands without autocommands
2012-01-31 20:58:49 +13:00
Jan Larres
52fe2b7c3a
Try to jump to the correct window after closing, closes #56
2012-01-20 15:56:50 +13:00
Jan Larres
6a95bfbbc0
Only ignore BufEnter when jumping to tag
2012-01-18 18:38:34 +13:00
Jan Larres
2c2b3fb99e
Use quitall in QuitIfOnlyWindow()
2012-01-14 19:35:50 +13:00
Jan Larres
d48c6f83f5
Add 'always' parameter to autoopen()
2012-01-14 19:35:01 +13:00
Jan Larres
81cfb3f903
Version 2.3
2011-12-24 18:14:54 +13:00
Jan Larres
49aa899098
Mention the wiki
2011-12-24 17:22:15 +13:00
Jan Larres
8e5ce3a3e5
Replace usearrows with iconchars
2011-12-22 18:06:48 +13:00
Jan Larres
f9b50a1e95
Remove need to provide complete jsctags configuration if jsctags not in path
2011-12-21 20:33:31 +13:00
Jan Larres
9a2cf9756f
Add convenience function for automatically opening Tagbar
2011-12-21 19:28:34 +13:00
Jan Larres
a93bd87715
Extract some init steps into function
2011-12-21 17:03:12 +13:00
Jan Larres
f3973b1817
Fix bug when scope field exists but is empty
2011-12-13 18:24:24 +13:00
Jan Larres
5461adc534
Skip comments in ctags output
2011-12-12 19:47:59 +13:00
Jan Larres
32d266a430
Add debugging functionality
2011-12-12 19:47:43 +13:00
Jan Larres
4cc123f3f2
Version 2.2
2011-11-26 17:45:08 +13:00
Jan Larres
81b16888fb
Add simple info file
2011-11-25 22:48:02 +13:00
Jan Larres
5c50b77a5a
Work around a statusline bug in Vim < 7.1.097
2011-11-25 19:50:48 +13:00
Jan Larres
4bc7555b80
Mention existing configurations
2011-11-25 16:26:13 +13:00
Jan Larres
bccf3d3473
Update credits
2011-11-25 01:37:51 +13:00
Jan Larres
555be533a4
Display 'kind' headers inside of scopes
2011-11-24 19:22:31 +13:00
Jan Larres
20ff7303a6
Update tagbar when filetype changes
2011-11-24 01:27:54 +13:00
Jan Larres
e9aa349d10
Make TagbarOpen command more flexible
2011-11-23 19:56:31 +13:00
Jan Larres
c07e878249
Update on save for smaller files, closes #40
2011-11-17 22:17:59 +13:00
Jan Larres
7cc9789d63
Locally disable cursorline/column, closes #49
2011-11-15 18:29:54 +13:00
Jan Larres
960332efb1
Don't jump do the tagbar window on TagbarOpen if already open
2011-11-03 04:29:12 +13:00
Jan Larres
4c907e56c1
Set foldcolumn to 0 locally, closes #46
2011-10-23 02:23:58 +13:00
Jan Larres
4b8cc056bf
Add .gitattributes file to avoid exporting superfluous files
2011-10-17 02:23:40 +13:00
Jan Larres
f03011b955
Temporarily reset 'wildignore' when calling expand()
2011-10-15 18:48:29 +13:00
Jan Larres
fef95d7167
Accept ctags development versions
2011-10-15 18:40:27 +13:00
Jan Larres
22b2329720
Always jump to previous window when closing tagbar, closes #44
2011-10-14 17:39:27 +13:00
Jan Larres
849fcbcd5a
Simplify some wincmd calls
2011-10-14 17:33:52 +13:00
Jan Larres
7163f4e4fa
Check for ctags in default locations of homebrew and macports
2011-10-03 01:57:33 +13:00
Jan Larres
9a6e21e44d
Don't highlight the same tag again, closes #36
2011-10-02 22:39:39 +13:00
Jan Larres
3c075654d4
Update line info when jumping to a tag, closes #26
2011-08-14 18:11:54 +12:00
Jan Larres
3b389aed00
Ignore events when jumping to a tag and opening the window, closes #17
2011-07-16 22:14:46 +12:00
Jan Larres
96d0050ea4
Move some tests to autoload
2011-07-15 17:34:47 +12:00
Kien N
4920be4438
move basic init & autocmd back to plugin/
2011-07-03 16:14:56 +07:00
Kien N
49ad69c41a
Pass arguments to autoload/tagbar.vim
2011-06-29 04:09:52 +07:00
Kien N
889a0d5b88
Move most of script to autoload
2011-06-29 03:59:49 +07:00
Jan Larres
d17c2dd227
Some improvements to the documentation
2011-06-24 14:47:26 +12:00
Jan Larres
e979e9abcd
Delete empty lines silently, closes #27
2011-06-24 12:37:01 +12:00
Jan Larres
5da16328b6
Check for out of sync configurations
2011-06-20 16:30:09 +12:00
Jan Larres
e84efc3366
Also set scriptencoding in syntax file
2011-06-18 18:54:53 +12:00
Jan Larres
20ea53630b
Add "scriptencoding" directive to avoid encoding issues
2011-06-18 18:46:04 +12:00
Jan Larres
a0939108d2
Try to jump to the correct line after a file has been changed but not saved, closes #20
2011-06-18 18:10:44 +12:00
Jan Larres
58d16c1a62
Allow mouse clicks in insert mode, closes #21
2011-06-06 19:18:32 +12:00
Jan Larres
23e2f22b04
Merge pull request #19 from freitass/ignore-tags
...
Ignore /doc/tags
2011-06-05 23:55:56 -07:00
Jan Larres
7aa936dc9c
Allow single-click for jumping to a tag, closes #16
2011-06-06 18:42:35 +12:00
Leandro Freitas
24344115b5
Ignore /doc/tags
2011-05-31 16:45:27 -03:00
Jan Larres
9d5af93a5b
Version 2.1
2011-05-29 19:19:03 +12:00
Jan Larres
8662779deb
Properly restore Tagbar after a session got loaded
2011-05-25 15:18:26 +12:00
Jan Larres
397e1741f8
Check version of exuberant ctags
2011-05-23 22:43:47 +12:00
Jan Larres
8cde134333
Return an empty string when encoding conversion fails
2011-05-22 17:23:11 +12:00
Jan Larres
5b819914b9
Test for Vim >= 7.0
2011-05-19 01:42:18 +12:00
Jan Larres
8d1ba9fc11
Clarify that type definitions have to be put into vimrc
2011-05-16 00:00:06 +12:00
Jan Larres
cd188c6669
Locally reset foldmethod and foldexpr in case it's set to something expensive globally
2011-05-15 18:26:10 +12:00
Jan Larres
e84eda8437
Ignore autocmds when printing just in case
2011-05-15 18:26:10 +12:00
Jan Larres
49c15b92d8
Properly resize window when pressing 'q', closes #15
2011-05-13 16:06:34 +12:00
Jan Larres
845754bdad
Don't check ctags on each 'window open'
2011-05-12 20:50:14 +12:00
Jan Larres
7a06b1615f
Make the ctags execution work in (hopefully) all cases under Windows
2011-05-09 23:40:07 +12:00
Jan Larres
d8122efcc6
Extract ctags execution into separate function
2011-05-08 23:08:15 +12:00
Jan Larres
e28eab7945
Explain some jsctags issues
2011-05-07 18:48:59 +12:00
Jan Larres
c33b0409cd
Check whether filetype detection is turned on
2011-05-07 18:13:00 +12:00
Jan Larres
1a77a1e9c6
Add additional ctags binary name
2011-05-07 18:06:29 +12:00
Jan Larres
804aa3b170
Small cleanup
2011-05-07 18:04:01 +12:00
Jan Larres
8b539ad91c
Explicitly check for Exuberant Ctags
2011-05-07 18:02:03 +12:00
Jan Larres
33d5a5e84f
Fix bug with empty filetype
2011-05-07 04:17:26 +12:00
Jan Larres
eb10c1d05c
Fix bug with subtypes not being properly recognized
2011-05-07 03:46:56 +12:00
Jan Larres
1916c55b7c
Handle cases where 'encoding' is different from system encoding
2011-05-05 21:27:47 +12:00
Jan Larres
98fe5ec994
Make sure to jump to the correct buffer/window on tag jump
2011-04-27 15:48:07 +12:00
Jan Larres
a76d07cfeb
Version 2.0.1
2011-04-27 01:03:04 +12:00
Jan Larres
40d8edf505
Fix sorting bug when 'ignorecase' is set
2011-04-27 01:01:27 +12:00
Jan Larres
1f4713d4ab
Typo
2011-04-26 23:46:10 +12:00
Jan Larres
b4ed33c4bc
Version 2.0
2011-04-26 23:31:04 +12:00
Jan Larres
81f71d8c66
Update credits
2011-04-26 21:00:00 +12:00
Jan Larres
39a62ae9f4
Simplify some function signatures
2011-04-26 02:18:55 +12:00
Jan Larres
98270ed439
Doc configuration clarification
2011-04-26 02:07:03 +12:00
Jan Larres
25bbf9b889
Change TagbarScopeType highlight to TagbarType
2011-04-26 02:01:13 +12:00
Jan Larres
8490f6a5c2
Only highlight scopes that have children
2011-04-26 01:56:51 +12:00
Jan Larres
b374ff5eab
Support jsctags and other compatible programs
2011-04-25 19:32:19 +12:00
Jan Larres
b25ab098da
Allow jumping to a tag definition without leaving the Tagbar window
2011-04-25 16:09:40 +12:00
Jan Larres
28dcb9d290
Add functionality to automatically open parents of tags in closed folds
2011-04-24 22:53:07 +12:00
Jan Larres
c2ad337c01
Delete fileinfo when deleting buffer
2011-04-24 20:15:02 +12:00
Jan Larres
3fe80bfbd6
Add ability to jump to next/previous top-level tag, closes #9
2011-04-24 13:58:06 +12:00
Jan Larres
ef7aa33d7b
Document ways of automatically opening Tagbar
2011-04-24 01:03:21 +12:00
Jan Larres
5fee41a7e1
Small doc clarifications
2011-04-24 00:50:02 +12:00
Jan Larres
8b378af5db
Document highlight customization
2011-04-23 23:15:24 +12:00
Jan Larres
d27c8b96bb
Document new folding features
2011-04-23 22:51:45 +12:00
Jan Larres
fb1025dcbc
Make highlight syntax definition configurable
2011-04-14 03:59:13 +12:00
Jan Larres
42a87ec2d7
Update credits
2011-04-14 00:32:14 +12:00
Jan Larres
5458369ec6
Don't use internal folding stuff outside of members
2011-04-12 23:36:48 +12:00
Jan Larres
f4f1dcbe3b
Change default highlight for fold icons to make the background colours match
2011-04-09 22:00:00 +12:00
Jan Larres
4d5b30b1ce
Fix statusline bug when opening Tagbar without having a valid file loaded
2011-04-09 03:33:59 +12:00
Jan Larres
3e4bd07b48
Fix displaying the filename in the statusbar
2011-04-09 02:09:19 +12:00
Jan Larres
1cc96abced
Get rid of some 'git d' in ':silent' to be able to see errors
2011-04-08 13:17:50 +12:00
Jan Larres
8fd7c138ca
Delete empty lines into the black hole register to avoid clobbering others
2011-04-08 12:53:50 +12:00
Jan Larres
c3f41cb2ab
Remove superfluous output line
2011-04-08 03:39:58 +12:00
Jan Larres
df31cc81cd
Delete empty lines at the end of the tagbar buffer
2011-04-08 03:15:52 +12:00
Jan Larres
c9b43b665a
Fix file update bug
2011-04-08 03:12:00 +12:00
Jan Larres
fe4acfb1fb
Fix bug with files with empty filetype
2011-04-08 02:42:08 +12:00
Jan Larres
d123a8346e
Fix bug with displaying files that don't have scopes
2011-04-08 01:18:01 +12:00
Jan Larres
d2a39abd61
Only consider the main filetype, closes #10
2011-04-08 01:09:15 +12:00
Jan Larres
140c7c84c8
Refactor into a more object-oriented style and make folding more vim-like
2011-04-08 01:00:12 +12:00
Seth Milliken
649eead502
added more vim-like bindings for folding
...
- added zo alias to OpenFold()
- added za alias to ToggleFold()
- added zc alias to CloseFold()
- added zC alias to CloseParent()
- added zn alias to SetFoldLevel(99, 1)
- added zR alias to SetFoldLevel(99, 1)
- added zM alias to SetFoldLevel(0, 1)
- changed z zoom shortcut to zz to avoid delay caused by presence of new z-prefix bindings
- update s:PrintHelp() to reflect new bindings
2011-03-29 20:35:56 -07:00
Jan Larres
e36d947b57
Don't call AutoUpdate() with ':silent' so that 'echo's will be printed
2011-03-29 02:18:38 +13:00
Jan Larres
c581d048ca
Fix fold marker bug on windows
2011-03-29 02:16:48 +13:00
Jan Larres
efcf31ba74
Handle cases where the ctags binary is installed in a directory with spaces
2011-03-28 23:52:05 +13:00
Jan Larres
276fa842dc
Allow using other arrows on windows
2011-03-28 23:02:29 +13:00
Jan Larres
4b7aca60a7
Fix bug with balloonexpr
2011-03-28 17:18:24 +13:00
Jan Larres
15d82f669c
Fix bug with user-defined types that don't specify folds
2011-03-28 17:08:14 +13:00
Jan Larres
fbeea744d2
expand() ctags path in case it is installed in home dir
2011-03-28 12:34:41 +13:00
Jan Larres
0cb1f55f6a
Fold vim maps by default
2011-03-28 02:48:21 +13:00
Jan Larres
3fdfe14ddb
Check for termencoding just in case
2011-03-28 01:49:51 +13:00
Jan Larres
d256c9976b
Display nice unicode fold icons if possible
2011-03-28 01:29:25 +13:00
Jan Larres
0c39715fa7
Support using the mouse for opening/closing folds
2011-03-28 00:34:50 +13:00
Jan Larres
17064c6978
Make foldlevel work like the built-in version
2011-03-27 19:47:56 +13:00
Jan Larres
96165b138b
Extract PrintKinds() function
2011-03-27 16:46:41 +13:00
Jan Larres
7182f9640e
Implement proper folding support
2011-03-27 03:32:31 +13:00
Jan Larres
151832d234
Save the view when redisplaying the same file to avoid distracting jumps (idea taken from NERDTree)
2011-03-22 01:37:18 +13:00
Jan Larres
3cd371910a
Consolidate some parameters in scope-processing functions
2011-03-21 03:02:03 +13:00
Jan Larres
ef91922190
Check if mappings exist when opening window, closes #7
2011-03-18 01:53:08 +13:00
Jan Larres
70cfb974a9
Revert "use redraw! instead of redraw"
...
This reverts commit 208413677f .
2011-03-11 19:29:27 +13:00
Taybin Rutkin
208413677f
use redraw! instead of redraw
2011-03-10 15:50:25 -05:00
Jan Larres
518b07de12
Version 1.5
2011-03-06 23:47:27 +13:00
Jan Larres
a9c352c134
Ensure that as much content as possible is shown in the Tagbar window
2011-03-06 23:00:13 +13:00
Jan Larres
b176c930d0
Get rid of unneeded type def field 'scopes'
2011-03-06 19:52:54 +13:00
Jan Larres
e84bffb6df
Allow for extra ctags definition files in type definitions
2011-03-06 19:12:21 +13:00
Taybin Rutkin
07997460d1
update documentation for tagbar_autofocus
2011-03-05 19:29:52 +13:00
Taybin Rutkin
eb1ccae17e
Add g:tagbar_autofocus option to always move cursor to tagbar window when it opens
2011-03-05 19:29:26 +13:00
Taybin Rutkin
d86d93dbf1
remove redundant code
2011-03-05 19:25:47 +13:00
Jan Larres
a532d7c445
Make sure the whole Tagbar content is shown if it is shorter than the window height
2011-03-04 02:59:40 +13:00
Jan Larres
38a6c9f6a1
Make sure jumps to the Tagbar window don't end up at the bottom after file loading
2011-03-04 02:58:48 +13:00
Jan Larres
82eebf945e
Don't do any highlighting if there's no tag above the cursor
2011-03-02 23:31:58 +13:00
Jan Larres
f847c4631b
Add 'redraw' in some places since auto-redraw doesn't always work
2011-03-02 23:29:36 +13:00