1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

Fix unknown func when install plugins

This commit is contained in:
wsdjeg 2017-05-22 19:43:15 +08:00
parent a307bb2c7a
commit 22e5aef10f

View File

@ -79,6 +79,9 @@ endfunction
if g:spacevim_enable_neomake
function! s:syntax_checking()
if !exists('g:loaded_neomake')
return ''
endif
let counts = neomake#statusline#LoclistCounts()
let warnings = get(counts, 'W', 0)
let l = warnings ? '%#SpaceVim_statusline_warn#●' . warnings : ''