Created
June 28, 2011 12:46
-
-
Save pocket7878/1051063 to your computer and use it in GitHub Desktop.
little-patch-for unite-colorscheme
This file contains 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
*** colorscheme.vim.orig 2011-06-28 21:43:56.000000000 +0900 | |
--- colorscheme.vim 2011-06-28 21:44:41.000000000 +0900 | |
*************** | |
*** 8,14 **** | |
\ } | |
function! s:unite_source.hooks.on_init(args, context) | |
! let s:beforecolor = g:colors_name | |
endfunction | |
function! s:unite_source.hooks.on_close(args, context) | |
--- 8,18 ---- | |
\ } | |
function! s:unite_source.hooks.on_init(args, context) | |
! if exists('g:colors_name') | |
! let s:beforecolor = g:colors_name | |
! else | |
! let s:beforecolor = "default" | |
! endif | |
endfunction | |
function! s:unite_source.hooks.on_close(args, context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment