From 61e800af7de8e7ad1b8add3659c8879950f6021a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 May 2019 13:59:41 +1200 Subject: Adjust load guard --- colors/sahara.vim | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/colors/sahara.vim b/colors/sahara.vim index 6bc44e6..aa59a98 100644 --- a/colors/sahara.vim +++ b/colors/sahara.vim @@ -7,19 +7,18 @@ " " -" Do nothing if we can't get our colors -if !has('gui_running') && &t_Co < 256 - echoerr 'Colorscheme requires GUI or 256 color term' +" Do nothing if too old or we can't get our colors +if v:version < 700 + \ || !has('gui_running') && &t_Co < 256 + echoerr 'Colorscheme requires Vim >=7.0 and GUI or 256 color term' finish endif " Terminal setup set background=dark -if v:version > 580 - highlight clear - if exists('syntax_on') - syntax reset - endif +highlight clear +if exists('syntax_on') + syntax reset endif " Set colorscheme name -- cgit v1.2.3 From a2317c4451f00413a4d7e58a7c65d8ff63e5cf21 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 May 2019 13:59:58 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index f0bb29e..88c5fb8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.0 +1.4.0 -- cgit v1.2.3