summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-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