aboutsummaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
Diffstat (limited to 'colors')
-rw-r--r--colors/sahara.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/colors/sahara.vim b/colors/sahara.vim
index 7c12739..5b12b57 100644
--- a/colors/sahara.vim
+++ b/colors/sahara.vim
@@ -7,6 +7,12 @@
" <https://sanctum.geek.nz/>
"
+" Do nothing if we can't get our colors
+if !has('gui_running') && &t_Co < 256
+ echoerr 'Colorscheme requires GUI or 256 color term'
+ finish
+endif
+
" Terminal setup
set background=dark
if v:version > 580
@@ -16,12 +22,6 @@ if v:version > 580
endif
endif
-" Do nothing if we can't get our colors
-if !has('gui_running') && &t_Co < 256
- echoerr 'Colorscheme requires GUI or 256 color term'
- finish
-endif
-
" Set colorscheme name
let colors_name = 'sahara'