From c8a1d582ef3d4a126b9fb1e6c8a7c4bdf10817b0 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 28 Aug 2019 23:19:46 +0200 Subject: Fix minor bugs --- vim/.vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim') 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 -- cgit v1.2.3