Permalink
Browse files

Include both column and virtual column in line segment

Closes #169.
  • Loading branch information...
1 parent 67ea41e commit 1acfd75ada1ad79432df74d020935d79e29bc81c @Lokaltog committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/Powerline/Segments.vim
View
2 autoload/Powerline/Segments.vim
@@ -22,7 +22,7 @@ let g:Powerline#Segments#segments = Pl#Segment#Init([
\ Pl#Segment#Create('scrollpercent' , '%3p%%'),
\ Pl#Segment#Create('lineinfo',
\ Pl#Segment#Create('line.cur' , '$LINE %3l'),
- \ Pl#Segment#Create('line.tot' , ':%-2v', Pl#Segment#NoPadding()),
+ \ Pl#Segment#Create('line.tot' , ':%-3(%c%V%)', Pl#Segment#NoPadding()),
\ ),
\ Pl#Segment#Create('charcode' , '%{Powerline#Functions#GetCharCode()}', Pl#Segment#Modes('!N')),
\ Pl#Segment#Create('currhigroup' , '%{synIDattr(synID(line("."), col("."), 1), "name")}', Pl#Segment#Modes('!N')),

0 comments on commit 1acfd75

Please sign in to comment.