Skip to content

Commit

Permalink
Only use g:Powerline_colorscheme for setting colorscheme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokaltog committed Jan 21, 2012
1 parent 003af44 commit 23b4bbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions autoload/Pl/Theme.vim
@@ -1,4 +1,4 @@
function! Pl#Theme#Create(colorscheme, ...) " {{{
function! Pl#Theme#Create(...) " {{{
let buffer_segments = []

for buffer_segment in a:000
Expand All @@ -10,7 +10,7 @@ function! Pl#Theme#Create(colorscheme, ...) " {{{
call add(buffer_segments, buffer_segment)
endfor

let buffer_segments = Pl#Colorscheme#Apply(a:colorscheme, buffer_segments)
let buffer_segments = Pl#Colorscheme#Apply(g:Powerline_colorscheme, buffer_segments)

return buffer_segments
endfunction " }}}
Expand Down
2 changes: 0 additions & 2 deletions autoload/Powerline/Themes/distinguished.vim
@@ -1,6 +1,4 @@
let g:Powerline#Themes#distinguished#theme = Pl#Theme#Create(
\ 'distinguished',
\
\ Pl#Theme#Buffer(''
\ , 'mode_indicator'
\ , 'fugitive:branch'
Expand Down

0 comments on commit 23b4bbd

Please sign in to comment.