mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
Fix unkownfunc in first installation
This commit is contained in:
parent
4ec6a9d015
commit
4604e4fb34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user