From 5dcd172bae25192a5366e8ad1ad3a9d7ed7a8247 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 9 May 2017 11:35:01 +0100 Subject: Add various changes --- vim/.vimrc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index 9f1cbb2..6bb41ac 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -227,13 +227,19 @@ endif " Plugins interactions function! Multiple_cursors_before() - let b:deoplete_disable_auto_complete = 1 - exe 'NeoCompleteLock' + if has("nvim") + let b:deoplete_disable_auto_complete = 1 + else + exe 'NeoCompleteLock' + endif endfunction function! Multiple_cursors_after() - let b:deoplete_disable_auto_complete = 0 - exe 'NeoCompleteUnlock' + if has("nvim") + let b:deoplete_disable_auto_complete = 0 + else + exe 'NeoCompleteUnlock' + endif endfunction "" Vim variables -- cgit v1.2.3