From 2b163ee23cda568b3d782259264e715ced11688e Mon Sep 17 00:00:00 2001 From: Sami Haahtinen Date: Sun, 15 Nov 2015 09:51:00 +0200 Subject: [PATCH] Fix color_name to g:color_name instead This causes vim to properly reload the correct theme when needed. Fixes issue #22 --- colors/badwolf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/badwolf.vim b/colors/badwolf.vim index 99f0ce0..c27e66e 100644 --- a/colors/badwolf.vim +++ b/colors/badwolf.vim @@ -41,7 +41,7 @@ if exists("syntax_on") syntax reset endif -let colors_name = "badwolf" +let g:colors_name = "badwolf" if !exists("g:badwolf_html_link_underline") " {{{ let g:badwolf_html_link_underline = 1