mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 03:00:04 +08:00
Fix unknown func when install plugins
This commit is contained in:
parent
a307bb2c7a
commit
22e5aef10f
@ -79,6 +79,9 @@ endfunction
|
|||||||
|
|
||||||
if g:spacevim_enable_neomake
|
if g:spacevim_enable_neomake
|
||||||
function! s:syntax_checking()
|
function! s:syntax_checking()
|
||||||
|
if !exists('g:loaded_neomake')
|
||||||
|
return ''
|
||||||
|
endif
|
||||||
let counts = neomake#statusline#LoclistCounts()
|
let counts = neomake#statusline#LoclistCounts()
|
||||||
let warnings = get(counts, 'W', 0)
|
let warnings = get(counts, 'W', 0)
|
||||||
let l = warnings ? '%#SpaceVim_statusline_warn#●' . warnings : ''
|
let l = warnings ? '%#SpaceVim_statusline_warn#●' . warnings : ''
|
||||||
|
Loading…
Reference in New Issue
Block a user