Commit Graph

238 Commits

Author SHA1 Message Date
Jan Larres
dec1f840fb Version 2.5 2013-03-25 22:27:12 +13:00
Jan Larres
7d836e0c53 Make visibility symbols optional 2012-11-22 18:42:14 +13:00
kianryan
15eddce14f Updates to TagbarTogglePause
Changes requested by majutsushi.

Changed function to :TagbarTogglePause
Added documentation for function, including usage and defintion.
Changed autocommands_enable to autocommands_enabled.
2012-11-01 14:36:45 +00:00
kianryan
e88b81c4f5 Merge branch 'master' of github.com:kianryan/tagbar 2012-10-01 14:24:46 +01:00
kianryan
19695b87b0 Pause autocmd functionality with :TagbarPause
tagbar#PauseAutocommands :TagbarPause

:TagbarPause pauses autocmds, effectively freezing Tagbar on the last
file.  Useful for keeping a tag reference for a file open whilst working
in a different file.
2012-10-01 14:22:35 +01:00
Jan Larres
568ef5fd25 Make the indent configurable, closes #110 2012-10-01 22:59:53 +13:00
Jan Larres
cd0e20f93b Add TagbarCurrentTag command, closes #109 2012-09-15 17:03:43 +12:00
Jan Larres
ee700817d5 Fix some TagbarShowTag bugs, closes #108 2012-09-15 16:49:28 +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
6a7f155874 Version 2.4.1 2012-07-16 21:38:20 +12:00
Jan Larres
5ee3143b5a Version 2.4 2012-06-17 21:19:42 +12:00
Jan Larres
c5f91a5b76 Add command for easy type customization 2012-06-16 21:46:54 +12:00
Jan Larres
86b49e6949 Make SetFoldlevel respect default-closed folds without '!', closes #61 2012-03-14 22:42:59 +13:00
Jan Larres
81cfb3f903 Version 2.3 2011-12-24 18:14:54 +13:00
Jan Larres
8e5ce3a3e5 Replace usearrows with iconchars 2011-12-22 18:06:48 +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
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
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
889a0d5b88 Move most of script to autoload 2011-06-29 03:59:49 +07: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
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
7aa936dc9c Allow single-click for jumping to a tag, closes #16 2011-06-06 18:42:35 +12: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
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
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