Commit Graph

131 Commits

Author SHA1 Message Date
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