aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-21 23:31:54 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-21 23:33:56 +1300
commitf8e01d5f70c020631257dbb6b144ee103330f7bd (patch)
treef35dcdae2d0ce30cdb4b23cfb1ff13f4618cef25 /vim/autoload
parentBreak some continued lines in Vim indent files (diff)
downloaddotfiles-f8e01d5f70c020631257dbb6b144ee103330f7bd.tar.gz
dotfiles-f8e01d5f70c020631257dbb6b144ee103330f7bd.zip
Join short-circuit line in detect_background.vim
This makes the block work correctly when 'compatible' is set and 'C' is in 'cpoptions'.
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/detect_background.vim3
1 files changed, 1 insertions, 2 deletions
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 <tom@sanctum.geek.nz>
" 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