Skip to content

Instantly share code, notes, and snippets.

@adrianrego
Created February 3, 2012 22:22
Show Gist options
  • Save adrianrego/1733279 to your computer and use it in GitHub Desktop.
Save adrianrego/1733279 to your computer and use it in GitHub Desktop.
Override existing janus colorscheme
" Override existing colorscheme with version found in
" ~/.janus/<colorscheme>/colors/<colorscheme>.vim
if exists("g:colors_name")
let color_override = expand('~/.janus/' . g:colors_name . '/colors/' . g:colors_name . '.vim')
if filereadable(color_override)
exe 'source ' . color_override
endif
endif
@ecarter
Copy link

ecarter commented Feb 23, 2012

Works great! Exactly what I was looking for, thx

@anthonybrown
Copy link

where does this snippet go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment