mirror of
https://github.com/gryf/tagbar.git
synced 2026-05-11 00:42:59 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e872e67641 | |||
| b610fb2f5d | |||
| ace45adc51 | |||
| 88d7464079 | |||
| dbc05b24a3 |
+10
-3
@@ -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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user