1
0
mirror of https://github.com/gryf/tagbar.git synced 2026-05-11 00:42:59 +02:00

5 Commits

Author SHA1 Message Date
Jan Larres e872e67641 Version 2.6.1 2014-01-23 23:17:00 +13:00
Jan Larres b610fb2f5d Restore previous window, closes #190 2014-01-21 15:59:51 +13:00
Jan Larres ace45adc51 Don't let ctags sort tags, closes #187
Ctags seems to call an external 'sort' which can apparently fail in some
cases with Cygwin. Since we sort the tags ourselves anyway just disable
it.
2013-12-25 19:07:31 +13:00
Jan Larres 88d7464079 Close prevwin when jumping to tag, closes #184 2013-12-19 11:54:59 +13:00
Jan Larres dbc05b24a3 Fix getCurrent() call for kind headers, closes #185 2013-12-09 16:30:38 +13:00
4 changed files with 22 additions and 6 deletions
+10 -3
View File
@@ -4,7 +4,7 @@
" Author: Jan Larres <jan@majutsushi.net>
" Licence: Vim licence
" Website: http://majutsushi.github.com/tagbar/
" Version: 2.6
" Version: 2.6.1
" Note: This plugin was heavily inspired by the 'Taglist' plugin by
" Yegappan Lakshmanan and uses a small amount of code from it.
"
@@ -1497,7 +1497,7 @@ endfunction
" s:KindheaderTag.toggleFold() {{{3
function! s:KindheaderTag.toggleFold() abort dict
let fileinfo = s:known_files.getCurrent()
let fileinfo = s:known_files.getCurrent(0)
let fileinfo.kindfolds[self.short] = !fileinfo.kindfolds[self.short]
endfunction
@@ -2125,7 +2125,7 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
\ '--excmd=pattern',
\ '--fields=nksSa',
\ '--extra=',
\ '--sort=yes'
\ '--sort=no'
\ ]
" Include extra type definitions
@@ -3007,8 +3007,13 @@ function! s:JumpToTag(stay_in_tagbar) abort
call s:goto_win(tagbarwinnr)
redraw
elseif g:tagbar_autoclose || autoclose
" Also closes preview window
call s:CloseWindow()
else
" Close the preview window if it was opened by us
if s:pwin_by_tagbar
pclose
endif
call s:HighlightTag(0)
endif
endfunction
@@ -3735,6 +3740,7 @@ function! s:QuitIfOnlyWindow() abort
endif
let curwinnr = winnr()
let prevwinnr = winnr('#')
call s:goto_win(tagbarwinnr, 1)
" Check if there is more than one window
@@ -3754,6 +3760,7 @@ function! s:QuitIfOnlyWindow() abort
endif
endif
call s:goto_win(prevwinnr, 1)
call s:goto_win(curwinnr, 1)
endfunction
+10 -1
View File
@@ -3,7 +3,7 @@
Author: Jan Larres <jan@majutsushi.net>
Licence: Vim licence, see |license|
Homepage: http://majutsushi.github.com/tagbar/
Version: 2.6
Version: 2.6.1
==============================================================================
Contents *tagbar* *tagbar-contents*
@@ -1231,6 +1231,13 @@ file.
==============================================================================
8. History *tagbar-history*
2.6.1 (2014-01-23)
- Automatically close the preview window when jumping to a tag
- Don't forget the previous window in certain situations, which was
causing problems with for example fugitive
- Fixed toggling kind-specific folds
- Fixed ctags error that can happen with Cygwin
2.6 (2013-12-06)
- Added possibility to show tags in the preview window, either manually or
automatically.
@@ -1403,10 +1410,12 @@ Jan Christoph Ebersbach
Vadim Fint
Leandro Freitas
Ingo Karkat
Audrius Kažukauskas
Michael McClimon
Seth Milliken
Kien N
Darcy Parker
fritzophrenic
pielgrzym
Taybin Rutkin
Kian Ryan
+1 -1
View File
@@ -4,7 +4,7 @@
" Author: Jan Larres <jan@majutsushi.net>
" Licence: Vim licence
" Website: http://majutsushi.github.com/tagbar/
" Version: 2.6
" Version: 2.6.1
" Note: This plugin was heavily inspired by the 'Taglist' plugin by
" Yegappan Lakshmanan and uses a small amount of code from it.
"
+1 -1
View File
@@ -3,7 +3,7 @@
" Author: Jan Larres <jan@majutsushi.net>
" Licence: Vim licence
" Website: http://majutsushi.github.com/tagbar/
" Version: 2.6
" Version: 2.6.1
scriptencoding utf-8