Revert "Don't run the plugin when in diff mode"
This reverts commit a6d5979b08
.
This commit is contained in:
parent
63690467ea
commit
e52d252d08
@ -54,11 +54,6 @@ endfunction
|
|||||||
|
|
||||||
|
|
||||||
function! youcompleteme#Enable()
|
function! youcompleteme#Enable()
|
||||||
" When vim is in diff mode, don't run
|
|
||||||
if &diff
|
|
||||||
return
|
|
||||||
endif
|
|
||||||
|
|
||||||
call s:SetUpBackwardsCompatibility()
|
call s:SetUpBackwardsCompatibility()
|
||||||
|
|
||||||
" This can be 0 if YCM libs are old or -1 if an exception occured while
|
" This can be 0 if YCM libs are old or -1 if an exception occured while
|
||||||
|
Loading…
Reference in New Issue
Block a user