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:
commit
d4e3d85fc0
@ -519,6 +519,10 @@ endfunction
|
||||
|
||||
|
||||
function! s:OnCompleteDone()
|
||||
if !s:AllowedToCompleteInCurrentBuffer()
|
||||
return
|
||||
endif
|
||||
|
||||
exec s:python_command "ycm_state.OnCompleteDone()"
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user