From f8e01d5f70c020631257dbb6b144ee103330f7bd Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 21 Jan 2018 23:31:54 +1300 Subject: Join short-circuit line in detect_background.vim This makes the block work correctly when 'compatible' is set and 'C' is in 'cpoptions'. --- vim/autoload/detect_background.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vim') diff --git a/vim/autoload/detect_background.vim b/vim/autoload/detect_background.vim index c010dc53..e4163a43 100644 --- a/vim/autoload/detect_background.vim +++ b/vim/autoload/detect_background.vim @@ -9,8 +9,7 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_detect_background') - \ || &compatible +if exists('g:loaded_detect_background') || &compatible finish endif let g:loaded_detect_background = 1 -- cgit v1.2.3