Do not call OnCompleteDone on blacklisted filetypes

This commit is contained in:
micbou 2019-01-23 00:19:07 +01:00
parent b26ba2681e
commit f58d9d607e
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05

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