release v0.2.5

This commit is contained in:
Clément DOUIN
2021-04-12 00:21:08 +02:00
parent 557c5b79bc
commit e8ae4b025f
12 changed files with 100 additions and 72 deletions
+1
View File
@@ -170,6 +170,7 @@ function! himalaya#msg#attachments()
let mbox = himalaya#mbox#curr_mbox()
let msg_id = stridx(bufname("%"), "Himalaya messages") == 0 ? s:get_focused_msg_id() : s:msg_id
let msg = s:cli("--mailbox %s attachments %d", [shellescape(mbox), msg_id], "Downloading attachments", 0)
call himalaya#shared#log#info(msg)
catch
if !empty(v:exception)
redraw | call himalaya#shared#log#err(v:exception)
+1 -1
View File
@@ -9,7 +9,7 @@ function! himalaya#shared#cli#call(cmd, args, log, should_throw)
try
let res = eval(res)
redraw | call himalaya#shared#log#info(printf("%s [OK]", a:log))
return res
return res.response
catch
redraw | call himalaya#shared#log#info(printf("%s [ERR]", a:log))
for line in split(res, "\n")