aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 17:53:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 17:53:50 +1200
commitbf0190eb307e3d8945bedf95017ba6333e394379 (patch)
tree705bfbcf6e7b54e936ffceac2b3b2d37f49bc4d4
parentMerge branch 'release/v6.17.0' into develop (diff)
downloaddotfiles-bf0190eb307e3d8945bedf95017ba6333e394379.tar.gz
dotfiles-bf0190eb307e3d8945bedf95017ba6333e394379.zip
Strip a trailing space
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 93db7ac9..1273840f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1109,7 +1109,7 @@ nnoremap <expr> <Space>
" If the plugin isn't available, I just abandon CTRL-C to continue its
" uselessness.
"
-if &loadplugins
+if &loadplugins
\ && globpath(&runtimepath, 'plugin/insert_cancel.vim') !=# ''
imap <C-C> <Plug>(InsertCancel)
endif