summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc14
1 files changed, 10 insertions, 4 deletions
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