summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-05-09 11:35:01 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-05-09 11:35:01 +0100
commit5dcd172bae25192a5366e8ad1ad3a9d7ed7a8247 (patch)
tree06a24326fe9122b3d017ed99ef4e70be4da01167 /vim
parent9600f2f2037429da7179b2399347b1857028de85 (diff)
Add various changes
Diffstat (limited to 'vim')
-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