aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-28 23:18:28 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-28 23:20:07 +1200
commitb34ef22b69be09ee100176a7362b1fbc70ca975f (patch)
treea052f7669949254429f7961618c5d7a0e7095921 /plugin
parentMerge branch 'release/v0.3.0' into develop (diff)
downloadvim-squeeze-repeat-blanks-b34ef22b69be09ee100176a7362b1fbc70ca975f.tar.gz
vim-squeeze-repeat-blanks-b34ef22b69be09ee100176a7362b1fbc70ca975f.zip
Simplify load guard a bit
Diffstat (limited to 'plugin')
-rw-r--r--plugin/squeeze_repeat_blanks.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/squeeze_repeat_blanks.vim b/plugin/squeeze_repeat_blanks.vim
index fb85812..fa6e1a5 100644
--- a/plugin/squeeze_repeat_blanks.vim
+++ b/plugin/squeeze_repeat_blanks.vim
@@ -6,10 +6,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_squeeze_repeat_blanks') || &compatible
- finish
-endif
-if !has('user_commands') || v:version < 700
+if exists('loaded_squeeze_repeat_blanks') || &compatible || v:version < 700
finish
endif
let loaded_squeeze_repeat_blanks = 1