Permalink
Browse files

Add a note about autocmd timing, closes #180

  • Loading branch information...
1 parent 915b11b commit 3f28e3b073467f7595546355adb1885343ff4133 @majutsushi committed Nov 22, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 doc/tagbar.txt
View
@@ -780,6 +780,9 @@ You can ignore specific files by setting the |buffer-variable|
>
autocmd BufNewFile,BufReadPost foo.cpp let b:tagbar_ignore = 1
<
+Note that autocommands are order-sensitive, so make sure that this autocommand
+gets defined before the ones that Tagbar defines so the variable will get
+found at the right time.
==============================================================================
6. Extending Tagbar *tagbar-extend*

0 comments on commit 3f28e3b

Please sign in to comment.