1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:30:05 +08:00

Fix unkownfunc in first installation

This commit is contained in:
wsdjeg 2017-12-12 16:08:43 +08:00
parent 4ec6a9d015
commit 4604e4fb34

View File

@ -75,7 +75,11 @@ let s:last_echoed_error = ''
let s:clv = &conceallevel
function! s:neomake_signatures_current_error(...) abort
call s:neomake_signatures_clear()
let message = neomake#GetCurrentErrorMsg()
try
let message = neomake#GetCurrentErrorMsg()
catch /^Vim\%((\a\+)\)\=:E117/
let message = ''
endtry
if empty(message)
if exists('s:last_echoed_error')
unlet s:last_echoed_error