Skip to content
Browse files

Fix current tagbar tag segment

Closes #139.
  • Loading branch information...
1 parent b31111e commit 41058b87e1901cbb154eb4276601c2138eec6592 @Lokaltog committed Jun 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 autoload/Powerline/Segments/tagbar.vim
View
6 autoload/Powerline/Segments/tagbar.vim
@@ -1,5 +1,5 @@
-let g:Powerline#Segments#tagbar#segments = Pl#Segment#Init(['tagbar'
- \ (exists('g:loaded_tagbar') && g:loaded_tagbar == 1),
+let g:Powerline#Segments#tagbar#segments = Pl#Segment#Init(['tagbar',
+ \ (exists(':Tagbar') > 0),
\
- \ , Pl#Segment#Create('currenttag', '%{tagbar#currenttag("%s", "")}', Pl#Segment#Modes('!N'))
+ \ Pl#Segment#Create('currenttag', '%{tagbar#currenttag("%s", "")}', Pl#Segment#Modes('!N'))
\ ])

0 comments on commit 41058b8

Please sign in to comment.
Something went wrong with that request. Please try again.