summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2019-10-28 01:11:23 -0400
committerBenjamin Linskey2019-10-28 01:30:42 -0400
commit1baccd9acfdb634bcae46dd99466603b4705110a (patch)
treeebeaeb63c4b8d3c6ab8f73fb515451271d8a7f62
parent1e9deb67883bb6ecfccd9c28a981fc2f88e91143 (diff)
downloadbtl.vim-1baccd9acfdb634bcae46dd99466603b4705110a.tar.gz

Fix definition of g:colors_name

The g:colors_name variable was being overwritten by “highlight clear”, causing “:colorscheme” to output “default” after this color scheme was loaded. Moved the variable definition to a later stage of the script to fix this.

-rw-r--r--colors/btl.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/colors/btl.vim b/colors/btl.vim
index b22a15d..7d00605 100644
--- a/colors/btl.vim
+++ b/colors/btl.vim
@@ -7,11 +7,11 @@
"
" See h: group-name, highlight-groups
-let g:colors_name="btl"
-
set notermguicolors
set background=dark
highlight clear
+let g:colors_name="btl"
+
if exists("syntax_on")
syntax reset
endif