Commit Graph

642 Commits

Author SHA1 Message Date
4ca7a0c636 Prevent update error when current file is empty 2013-02-18 21:51:16 +13:00
f801147c2e Fix header indentation 2013-02-13 23:34:17 +13:00
9ec7d1db4c Merge pull request #118 from techlivezheng/feature/autoupdate-on-bufreadpost
Run auto-updating on BufReadPost event
2013-02-06 00:35:57 -08:00
9bbd0098c5 Don't update when in previewwindow, closes #112 2013-02-06 21:21:18 +13:00
5816ce0c5a Add abort() to NextNormalWindow function 2013-02-06 19:00:34 +13:00
3f03aa3013 Small patch cleanup 2013-02-06 18:43:51 +13:00
0224d32eb9 Only reset '0 mark when it is the last window
We only need to reset '0 mark when our tagbar window is the last one,
otherwise, just quit the window and let the other window handle the
error that might happen on quiting Vim.
2013-02-06 18:21:36 +13:00
987569e7dd Only colse the tagbar window itself
If there are other plugin windows open, close tagbar window and handle
over the control to the other window.

If the last file in the Vim's file arguments list has not been edited
yet, normal Vim's behavior would be quit on ':q!' or twice ':q'. As our
plugin window is the last window now, previously quiting on the file
window will not trigger the "more files" check, but our window does.
We'd better to behave the same. Currently, twice ':q' quiting would work,
but ':q!' not. There is no easy way to determine whether the command
being executed with a "!" or not, so this is a flaw now and we need
to come up a better solution someday, but it is a progress than before.
2013-02-06 18:21:35 +13:00
a444c62066 Quit if no more normal window exists
There might be other plugin windows but no normal file window open, we
need to make sure tagbar window is closed at this situation.
2013-02-06 18:21:35 +13:00
1181325968 Reinstate noautocmd when going to pprev window 2013-02-06 17:30:33 +13:00
1f0c0a3a8e Small cleanup of last patch 2013-02-06 17:07:27 +13:00
ad8783961d Do not interfere window switching history
Many plugins rely on 'wincmd p' to work properly, we need to preserve
at least one-level backwards window switching history.
2013-02-06 17:00:09 +13:00
bccdc7a48d Improve out-of-sync error reporting 2013-02-04 15:10:06 +13:00
2b1f655063 When switching to a buffer that is unsupported, clear current. 2013-01-20 10:54:16 -05:00
17d199f584 Run auto-updating on BufReadPost event
If 'autoread' is set and a buffer gets updated, tagbar need to be
triggerd to update itself too.
2012-11-30 08:17:58 +08:00
feebffcd2a Always colour signature correctly 2012-11-22 18:43:46 +13:00
7d836e0c53 Make visibility symbols optional 2012-11-22 18:42:14 +13:00
0ab07ac566 Use 'visibility' instead of 'access' everywhere exclusively 2012-11-22 18:05:59 +13:00
576d6e6dea Update credits 2012-11-21 20:44:43 +13:00
df341841ec Small doc fix 2012-11-21 18:44:28 +13:00
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
e88b81c4f5 Merge branch 'master' of github.com:kianryan/tagbar 2012-10-01 14:24:46 +01:00
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
568ef5fd25 Make the indent configurable, closes #110 2012-10-01 22:59:53 +13:00
e635a23cf5 Don't disable cursorline/column locally 2012-10-01 21:57:28 +13:00
2fee7677d5 Handle invalid fields gracefully 2012-09-16 03:03:11 +12:00
cd0e20f93b Add TagbarCurrentTag command, closes #109 2012-09-15 17:03:43 +12:00
ee700817d5 Fix some TagbarShowTag bugs, closes #108 2012-09-15 16:49:28 +12:00
67dc2a3b06 Typo 2012-09-13 23:29:39 +12:00
63e689b647 Escape all cmd.exe reserved chars 2012-09-11 17:44:14 +12:00
ba6eb10e49 Don't use doautocmd 2012-09-09 22:55:57 +12:00
d39a767486 Allow prototype to be shown with currenttag 2012-09-09 20:17:44 +12:00
a34acf4f63 Merge pull request #106 from sethwoodworth/master
Remove space from statusline example
2012-09-04 06:13:57 -07:00
6483a0edd1 Merge pull request #104 from zmx/patch-1
Support Clojure as LISP type
2012-09-04 05:48:31 -07:00
757358349e Move some var inits outside of win init function 2012-09-05 00:29:28 +12:00
04e40e09c1 fix example for statusline
vim funcs can't have spaces in arg lists
2012-09-03 19:07:52 -03:00
ba7d6b3e8e Support Clojure as LISP type 2012-08-31 18:42:25 +08:00
4569779601 Only generate prototypes on-demand 2012-08-27 01:57:56 +12:00
7d1ba97603 Typo in comment 2012-08-26 19:32:46 +12:00
b1c7f5f792 Improve prototype handling 2012-08-26 19:25:02 +12:00
b19c1d8524 Try to get complete prototype 2012-08-26 18:36:26 +12:00
8b5ba2ad66 Tweak some debug messages 2012-08-23 01:47:59 +12:00
25f43b9e88 Print debug message when executing ctags 2012-08-23 00:59:41 +12:00
f6acd740d7 Better debug message 2012-08-18 00:11:07 +12:00
bff765b957 Only determine extension once 2012-08-01 21:08:49 +12:00
f2c072dbb9 Add extension to temporary files 2012-07-31 16:50:55 +12:00
e321d85548 Don't open all folds when jumping to tag 2012-07-31 16:42:33 +12:00
f3c1a93017 Make 'open' commands a bit more intuitive 2012-07-31 16:42:18 +12:00
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
052bc7972b Correct latest stable ctags version for latex support 2012-07-22 18:14:14 +12:00