mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-08 14:52:31 +02:00
Feature Request: Ignore anonymous option (#727)
Closes #726 New option `g:tagbar_ignore_anonymous` to ignore any tags with __anon in the tag name. CTAGS will print any unlabeled tags with the __anon### name with a custom hash. This option will ignore those tags and they will not be visible in the tagbar window. This could potentially result in unknown behavior when a parent object has been ignored in this way. However these tags should then fall under the default hierarchy for that particular kind.
This commit is contained in:
1 parent
7cf83a4330
commit
52ec4e03f3
3 files changed
+17
No files matched your search
@@ -1140,6 +1140,17 @@ highlight the 'SOME_MACRO' tag.
|
||||
Example: >
|
||||
let g:tagbar_highlight_method = 'nearest'
|
||||
<
|
||||
*g:tagbar_ignore_anonymous*
|
||||
g:tagbar_ignore_anonymous~
|
||||
Default: 0
|
||||
|
||||
If set, any '__anon' tags generated by ctags will be ignored and will not be
|
||||
displayed in the tagbar window. Note: this will also mean any child tags of
|
||||
that anonymous tag will also not be visible.
|
||||
|
||||
Example: >
|
||||
let g:tagbar_ignore_anonymous = 1
|
||||
<
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
HIGHLIGHT COLOURS *tagbar-highlight*
|
||||
|
||||
Reference in new issue
Block a user