parent
f5bf0a28ef
commit
2741520020
@ -41,6 +41,8 @@ function! s:HasYcmCore()
|
|||||||
return 1
|
return 1
|
||||||
elseif filereadable(path_prefix . 'ycm_core.pyd')
|
elseif filereadable(path_prefix . 'ycm_core.pyd')
|
||||||
return 1
|
return 1
|
||||||
|
elseif filereadable(path_prefix . 'ycm_core.dll')
|
||||||
|
return 1
|
||||||
endif
|
endif
|
||||||
return 0
|
return 0
|
||||||
endfunction
|
endfunction
|
||||||
@ -50,8 +52,8 @@ let g:ycm_check_if_ycm_core_present =
|
|||||||
|
|
||||||
if g:ycm_check_if_ycm_core_present && !s:HasYcmCore()
|
if g:ycm_check_if_ycm_core_present && !s:HasYcmCore()
|
||||||
echohl WarningMsg |
|
echohl WarningMsg |
|
||||||
\ echomsg "ycm_core.[so|pyd] not detected; you need to compile YCM " .
|
\ echomsg "ycm_core.[so|pyd|dll] not detected; you need to compile " .
|
||||||
\ "before using it. Read the docs!" |
|
\ "YCM before using it. Read the docs!" |
|
||||||
\ echohl None
|
\ echohl None
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user