summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-08-28 23:19:46 +0200
committerUrbain Vaes <urbain@vaes.uk>2019-08-28 23:19:46 +0200
commitc8a1d582ef3d4a126b9fb1e6c8a7c4bdf10817b0 (patch)
treef1f850b2cc5b07b37e0be2d30bf4ee936b1eb6f6 /vim
parent0dbdefc7627eb3f62e6cf40034926271995abf75 (diff)
Fix minor bugs
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 10e18f1..4efc91f 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -252,14 +252,14 @@ endif
" Plugins interactions
function! Multiple_cursors_before()
- if has("nvim")
+ if has("nvim") && &runtimepath =~ 'deoplete'
let b:deoplete_disable_auto_complete = 1
call deoplete#disable()
endif
endfunction
function! Multiple_cursors_after()
- if has("nvim")
+ if has("nvim") && &runtimepath =~ 'deoplete'
let b:deoplete_disable_auto_complete = 0
call deoplete#enable()
endif