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
fb1025dcbc
Make highlight syntax definition configurable
2011-04-14 03:59:13 +12:00
Jan Larres
5458369ec6
Don't use internal folding stuff outside of members
2011-04-12 23:36:48 +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
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
Jan Larres
84121aac7d
Version 1.2
2011-02-28 18:12:36 +13:00
Jan Larres
be86180c88
Small optimization
2011-02-28 18:08:47 +13:00
Jan Larres
9eb5ff5e1f
Fix typo in Ruby definition
2011-02-28 18:08:31 +13:00
Jan Larres
91deffb04d
Version 1.1
2011-02-26 20:52:40 +13:00
Jan Larres
9ae8cfedd8
Allow expanding the vim window when opening Tagbar
2011-02-26 20:51:15 +13:00
Jan Larres
a18be73b63
Fix syntax highlighting when :syntax enable is called
2011-02-26 19:59:28 +13:00
Jan Larres
c6bbfcdba1
Version 1.0
2011-02-23 17:47:42 +13:00
Jan Larres
d971024947
Change homepage
2011-02-20 11:04:09 +13:00
Jan Larres
a92911fa18
Replace 'wincmd p' with explicit window numbers in a few locations
2011-02-19 17:50:29 +13:00
Jan Larres
342aece556
Don't do anything on OpenWindow() when in Tagbar window
2011-02-19 17:39:35 +13:00
Jan Larres
d0d557bf5f
Extract some one-time settings from OpenWindow()
2011-02-19 17:32:49 +13:00
Jan Larres
91076ee9d5
Let kind2scope and scope2kind be auto-generated from each other in user-defs
2011-02-19 17:12:47 +13:00
Jan Larres
300cd343ba
Some auto-update improvements
2011-02-17 17:33:59 +13:00
Jan Larres
7808f0ec93
Manual
2011-02-17 01:19:24 +13:00
Jan Larres
d66169f2d6
Get rid of superflous check for system()
2011-02-15 19:18:09 +13:00
Jan Larres
cc6a2958a1
Reorganize file structure
2011-02-14 23:47:18 +13:00
Jan Larres
4772da814a
Provide command for autoclosing window regardless of global setting
2011-02-14 23:32:57 +13:00
Jan Larres
6cd89f58bd
Don't fold comments
2011-02-14 22:10:30 +13:00
Jan Larres
e053a24cfc
Small misc stuff
2011-02-14 22:02:44 +13:00
Jan Larres
48704d10fa
Make folding work
2011-02-14 20:48:24 +13:00
Jan Larres
e22147a2d3
Allow setting sort mode per type
2011-02-14 17:37:34 +13:00
Jan Larres
7b558822a4
Ignore '~' prefix for C++ destructors when sorting
2011-02-14 16:28:56 +13:00
Jan Larres
47abcb82cf
Add compact display mode
2011-02-14 16:11:59 +13:00
Jan Larres
6402fc98e8
Slight highlighting change
2011-02-13 19:25:02 +13:00
Jan Larres
762d5b9968
Rewrite the processing of scoped tags
2011-02-13 19:20:29 +13:00
Jan Larres
5f400b06b7
Make autocommand more readable
2011-02-09 18:31:36 +13:00
Jan Larres
a21290dbdc
Get rid of PrintWarningMsg()
2011-02-09 18:17:22 +13:00
Jan Larres
cbb6a5f7ba
Support user-defined types
2011-02-07 19:19:55 +13:00
Jan Larres
3639b9635a
Tighten syntax highlighting a bit
2011-02-07 19:16:38 +13:00
Jan Larres
1900bf9da1
Add support for the rest of the languages
2011-02-07 17:59:07 +13:00
Jan Larres
7081192a8f
Fix depth bug
2011-02-07 17:58:33 +13:00
Jan Larres
b4b8eef2b0
Small pseudo-tag bugfix
2011-02-06 23:09:34 +13:00
Jan Larres
6bad51de6a
Cache depth in tags
2011-02-06 21:22:56 +13:00
Jan Larres
5c06c683d3
Add support for more languages
2011-02-05 19:33:18 +13:00
Jan Larres
172afabdb7
Handle ctags failures gracefully
2011-02-05 19:32:49 +13:00
Jan Larres
522a158956
Fix case bug
2011-02-05 19:30:03 +13:00
Jan Larres
d9c0b8b2d4
Add Erlang support
2011-02-04 18:29:34 +13:00
Jan Larres
f8b49b2f20
Mark current position before jumping to it
2011-02-01 15:28:48 +13:00
Jan Larres
053466b5a6
Display some useful info in the statusline
2011-01-27 21:04:21 +13:00
Jan Larres
fab8af715c
Add support for more languages
2011-01-26 19:17:09 +13:00
Jan Larres
eb96cd87f1
Add support for Asm
2011-01-25 20:12:57 +13:00
Jan Larres
a8d29ed5d1
Add support for Ant
2011-01-25 19:32:30 +13:00
Jan Larres
23ea6d0011
Support C
2011-01-24 23:23:40 +13:00
Jan Larres
1521c90fc3
Switch to marker folding
2011-01-24 22:37:52 +13:00
Jan Larres
cd17c19dea
Small syntax fix
2011-01-24 22:10:40 +13:00
Jan Larres
9f3e5f6ccb
Don't highlight access symbols
2011-01-24 21:27:35 +13:00
Jan Larres
ce001d55f4
Fix bug with prototype recognition
2011-01-24 20:14:28 +13:00
Jan Larres
f17f1faa1f
Fix some parsing bugs and add Java support
2011-01-24 19:48:58 +13:00
Jan Larres
310435b009
Support access/visibility prefix
2011-01-23 18:10:50 +13:00
Jan Larres
0d96623015
Only do type initialization once the tagbar is opened for the first time
2011-01-23 16:47:44 +13:00
Jan Larres
1537287fce
If autoclose is set jump to the tagbar window on open
2011-01-23 16:40:14 +13:00
Jan Larres
f15d130c3a
Speed up child processing by separating scoped from non-scoped tags
2011-01-23 15:09:08 +13:00
Jan Larres
2fd950e96d
Cache some information to make filtering faster
2011-01-23 02:22:20 +13:00
Jan Larres
39beb53fc1
Pseudo-tag fixes. Sigh.
2011-01-22 22:16:49 +13:00
Jan Larres
7bae0c5a69
Display some help
2011-01-22 00:27:50 +13:00
Jan Larres
d615d070c0
Comment for last fix
2011-01-21 22:29:48 +13:00
Jan Larres
8e4101b990
Fix small highlighting bug
2011-01-21 21:16:46 +13:00
Jan Larres
ca7307be6b
*Really* support nested pseudo-tags
2011-01-21 20:11:15 +13:00
Jan Larres
d235ec6dfb
Support some more C++ scopes
2011-01-21 01:38:14 +13:00
Jan Larres
8e6d6355d0
Small reformattings
2011-01-20 22:18:33 +13:00
Jan Larres
8d72cedc41
Allow zooming the window
2011-01-20 21:20:29 +13:00
Jan Larres
a5fd8d2c75
Allow closing the window with 'q'
2011-01-20 21:13:00 +13:00
Jan Larres
0b6ce07d78
Show prototype with <space> and balloon
2011-01-20 21:03:56 +13:00
Jan Larres
8aadfd19d3
Allow jumping to a tag definition from the tagbar window
2011-01-20 20:16:58 +13:00
Jan Larres
d94b7ad66f
Allow toggling the sort method
2011-01-20 18:16:57 +13:00
Jan Larres
e7d50d3800
Fix sorting bug
2011-01-20 17:11:27 +13:00
Jan Larres
ebf1d4b2e1
Add syntax highlighting
2011-01-20 16:51:50 +13:00
Jan Larres
19dee23d8d
Add highlighting function and rearrange update method
2011-01-20 16:51:33 +13:00
Jan Larres
7247c1edb7
Add some comments
2011-01-20 16:47:29 +13:00
Jan Larres
58b13eaaa9
Make ctags_args more readable
2011-01-19 18:44:08 +13:00
Jan Larres
7ac78715b2
Consolidate sorting
2011-01-19 17:36:10 +13:00
Jan Larres
3fab2ae0dd
Support nesting pseudo-tags
2011-01-19 17:19:15 +13:00
Jan Larres
597a0f4940
Fix some compatibility bugs
2011-01-18 15:03:27 +13:00
Jan Larres
040d1b99e7
Small cleanups.
2011-01-17 23:40:50 +13:00
Jan Larres
ba24621296
Support non-nesting pseudo-tags.
2011-01-17 22:58:31 +13:00
Jan Larres
e5e761b64a
Fix compare bug.
2011-01-17 17:09:55 +13:00
Jan Larres
dda2103363
Allow sorting the tags by name or line (unsorted).
2011-01-17 17:08:10 +13:00
Jan Larres
90f6a780e8
Print top-level tags in the specified order.
2011-01-17 15:54:12 +13:00
Jan Larres
00dc87f351
Simplify top level scope detection.
2011-01-17 03:19:11 +13:00
Jan Larres
a832db8b47
Use proper ctags binary name on Debian-like systems.
2011-01-17 00:41:41 +13:00
Jan Larres
32d42f5d47
Process scopes only when the file has changed.
2011-01-17 00:35:05 +13:00
Jan Larres
d250f26798
Clear buffer for unsupported files.
2011-01-16 22:02:52 +13:00
Jan Larres
04ad66a70e
Rough support for nested scopes.
2011-01-16 17:46:14 +13:00
Jan Larres
dfce41715b
Keep old alternate file when opening tagbar window.
2011-01-15 19:22:56 +13:00
Jan Larres
8b2fd1c849
Simple scope support.
2011-01-14 23:12:26 +13:00
Jan Larres
5f5e5e1b70
prepare autoclose functionality
2011-01-12 23:30:38 +13:00
Jan Larres
db3e802912
primitive version with c++ support
2011-01-12 22:48:04 +13:00
Jan Larres
6c0f348ad1
Initial commit
2011-01-11 22:36:49 +13:00