Auto merge of #3307 - micbou:complete-done-allowed, r=bstaletic

[READY] Do not call OnCompleteDone on blacklisted filetypes

Fixes #3305.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3307)
<!-- Reviewable:end -->
This commit is contained in:
zzbot 2019-01-23 00:13:39 -08:00 committed by GitHub
commit d4e3d85fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,6 +519,10 @@ endfunction
function! s:OnCompleteDone() function! s:OnCompleteDone()
if !s:AllowedToCompleteInCurrentBuffer()
return
endif
exec s:python_command "ycm_state.OnCompleteDone()" exec s:python_command "ycm_state.OnCompleteDone()"
endfunction endfunction