Skip to content

Instantly share code, notes, and snippets.

@scheakur
Last active December 12, 2015 02:48
Show Gist options
  • Save scheakur/4701813 to your computer and use it in GitHub Desktop.
Save scheakur/4701813 to your computer and use it in GitHub Desktop.
function! s:load_after_colors()
let color = expand('~/.vim/after/colors/' . g:colors_name . '.vim')
if filereadable(color)
execute 'source ' color
endif
endfunction
autocmd MyColors ColorScheme * call s:load_after_colors()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment