Doing buffervisit for clang only when clang on
This commit is contained in:
parent
74c363ef60
commit
48d95bcd20
@ -76,7 +76,7 @@ function! s:OnBufferVisit()
|
|||||||
call s:SetCompleteFunc()
|
call s:SetCompleteFunc()
|
||||||
py identcomp.OnFileEnter()
|
py identcomp.OnFileEnter()
|
||||||
|
|
||||||
if pyeval('ycm.ClangAvailableForFile()')
|
if g:ycm_clang_completion_enabled && pyeval('ycm.ClangAvailableForFile()')
|
||||||
py clangcomp.OnFileEnter()
|
py clangcomp.OnFileEnter()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user