mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 13:36:14 +08:00
My fault, it's a transferred error, add a '\' that' works fine.
This commit is contained in:
parent
3bde2fabd1
commit
3c66f13b9a
|
@ -20,8 +20,7 @@ function! airline#extensions#eclim#get_warnings()
|
||||||
|
|
||||||
if !empty(eclimList)
|
if !empty(eclimList)
|
||||||
" Remove any non-eclim signs (see eclim#display#signs#Update)
|
" Remove any non-eclim signs (see eclim#display#signs#Update)
|
||||||
" :help filter() ---- `the result **is zero** remove the item from the |List| or |Dictionary|.`
|
call filter(eclimList, 'v:val.name =~ "^\\(qf_\\)\\?\\(error\\|info\\|warning\\)$"')
|
||||||
call filter(eclimList, "v:val.name != '^\(qf_\)\?\(error\|info\|warning\)$'")
|
|
||||||
|
|
||||||
if !empty(eclimList)
|
if !empty(eclimList)
|
||||||
let errorsLine = eclimList[0]['line']
|
let errorsLine = eclimList[0]['line']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user