Unlet s:last_message with no error in show_list (#329)
If entries is empty, it will try to unlet of non-existing variable and throw the error. References #328
This commit is contained in:
parent
8850a05c80
commit
81bbc69581
|
@ -468,7 +468,7 @@ function! s:show_lists(lists) abort
|
||||||
continue
|
continue
|
||||||
endtry
|
endtry
|
||||||
if empty(entries)
|
if empty(entries)
|
||||||
unlet s:last_message
|
unlet! s:last_message
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue