mirror of
https://github.com/gryf/tagbar.git
synced 2026-02-01 13:35:45 +01:00
Make autoshowtag more flexible, closes #152
This commit is contained in:
@@ -501,11 +501,14 @@ just choose other characters in that case):
|
||||
g:tagbar_autoshowtag~
|
||||
Default: 0
|
||||
|
||||
If this variable is set and the current tag is inside of a closed fold then
|
||||
the folds will be opened as much as needed for the tag to be visible so it can
|
||||
be highlighted. If it is not set then the folds won't be opened and the parent
|
||||
tag will be highlighted instead. You can use the |:TagbarShowTag| command to
|
||||
open the folds manually.
|
||||
If this variable is set to 1 and the current tag is inside of a closed fold
|
||||
then the folds will be opened as much as needed for the tag to be visible so
|
||||
it can be highlighted. If it is set to 0 then the folds will only be opened
|
||||
when opening the Tagbar window and the current tag is insided a closed fold,
|
||||
otherwise the folds won't be opened and the parent tag will be highlighted
|
||||
instead. If it is set to 2 then the folds will never be opened automatically.
|
||||
|
||||
You can use the |:TagbarShowTag| command to open the folds manually.
|
||||
|
||||
Example:
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user