Revert "Don't run the plugin when in diff mode"

This reverts commit a6d5979b08.
This commit is contained in:
micbou 2016-04-09 12:09:10 +02:00
parent 63690467ea
commit e52d252d08

View File

@ -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