mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-07 06:00:39 +02:00
Clarify project-specific behaviour a bit in docs
This commit is contained in:
1 parent
460f3c8f2e
commit
3e417256e8
1 file changed
+5
-2
+5
-2
@@ -1206,8 +1206,11 @@ certain tag kinds in some projects.
|
||||
In order to use this feature you need to create User |autocommand|s in an
|
||||
augroup called "TagbarProjects" and have it create a buffer-local variable
|
||||
called "b:tagbar_type". This variable has to hold a type definition just like
|
||||
the normal ones described in this chapter. This definition will then be
|
||||
applied only to the files matched by the autocommand.
|
||||
the normal ones described in this chapter. If there already is a definition
|
||||
then the project-specific one will be merged with the existing one, with the
|
||||
project-specific one taking precedence. This makes it possible to have
|
||||
project-specific overrides. This definition will then be applied only to the
|
||||
files matched by the autocommand.
|
||||
|
||||
Note that there can be multiple definitions of the augroup with their own
|
||||
autocommands (for example in separate project directories); they will get
|
||||
|
||||
Reference in new issue
Block a user