Created
April 11, 2012 09:10
-
-
Save waltarix/2358169 to your computer and use it in GitHub Desktop.
PowerLine meets HahHah
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/autoload/Powerline/Colorschemes/default.vim b/autoload/Powerline/Colorschemes/default.vim | |
| index eacf147..a271f39 100644 | |
| --- a/autoload/Powerline/Colorschemes/default.vim | |
| +++ b/autoload/Powerline/Colorschemes/default.vim | |
| @@ -84,7 +84,7 @@ let g:Powerline#Colorschemes#default#colorscheme = Pl#Colorscheme#Init([ | |
| \ 'i': ['brightestred', ['bold']], | |
| \ }), | |
| \ | |
| - \ Pl#Hi#Segments(['current_function', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup'], { | |
| + \ Pl#Hi#Segments(['current_function', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup', 'hahhah'], { | |
| \ 'n': ['gray8', 'gray2'], | |
| \ 'i': ['mediumcyan', 'darkestblue'], | |
| \ }), | |
| diff --git a/autoload/Powerline/Segments.vim b/autoload/Powerline/Segments.vim | |
| index 6c7c628..7ab8e63 100644 | |
| --- a/autoload/Powerline/Segments.vim | |
| +++ b/autoload/Powerline/Segments.vim | |
| @@ -27,4 +27,5 @@ let g:Powerline#Segments#segments = Pl#Segment#Init([ | |
| \ 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')), | |
| \ Pl#Segment#Create('ws_marker' , '%{Powerline#Functions#GetWSMarker()}', Pl#Segment#Modes('!N')), | |
| + \ Pl#Segment#Create('hahhah' , '%{g:HahHah()}', Pl#Segment#Modes('!N')), | |
| \ ]) | |
| diff --git a/autoload/Powerline/Themes/default.vim b/autoload/Powerline/Themes/default.vim | |
| index 168276c..91f1266 100644 | |
| --- a/autoload/Powerline/Themes/default.vim | |
| +++ b/autoload/Powerline/Themes/default.vim | |
| @@ -10,6 +10,7 @@ let g:Powerline#Themes#default#theme = Pl#Theme#Create( | |
| \ , Pl#Segment#Split() | |
| \ , 'rvm:string' | |
| \ , 'virtualenv:statusline' | |
| + \ , 'hahhah' | |
| \ , 'fileformat' | |
| \ , 'fileencoding' | |
| \ , 'filetype' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment