Commit Graph

203 Commits

Author SHA1 Message Date
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
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
b4ed33c4bc Version 2.0 2011-04-26 23:31:04 +12:00
Jan Larres
39a62ae9f4 Simplify some function signatures 2011-04-26 02:18:55 +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
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