aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-09 23:14:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-09 23:14:34 +1200
commit81c00d3fafc3217638875c8e160d692889895d45 (patch)
tree52c859fc5282051c14d4ea1c48bfc7b57716f54c
parentSwap two conditions (diff)
downloaddotfiles-81c00d3fafc3217638875c8e160d692889895d45.tar.gz
dotfiles-81c00d3fafc3217638875c8e160d692889895d45.zip
Break three conditions into separate lines
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 67cfa6a4..634d568c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -118,7 +118,9 @@ endif
" to the first element of the default &runtimepath. If this is the case,
" we'll slot it in, having already checked it for troublesome characters.
"
-if $MYVIM !=# '' && len(runtimepath) > 0 && $MYVIM !=# runtimepath[0]
+if $MYVIM !=# ''
+ \ && len(runtimepath) > 0
+ \ && $MYVIM !=# runtimepath[0]
set runtimepath^=$MYVIM
endif