diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-18 01:06:43 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-18 01:06:43 +1200 |
commit | 7504b62005330302110ed26f84ac2f588251ca72 (patch) | |
tree | d15b2251d799371aaccee5754b566c8879989a42 /colors/sahara.vim | |
parent | Merge branch 'release/v1.1.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-sahara-7504b62005330302110ed26f84ac2f588251ca72.tar.gz vim-sahara-7504b62005330302110ed26f84ac2f588251ca72.zip |
Merge branch 'release/v1.2.0'v1.2.0
* release/v1.2.0:
Move load guard to top of file
Diffstat (limited to 'colors/sahara.vim')
-rw-r--r-- | colors/sahara.vim | 12 |
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' |