already signed in

This commit is contained in:
Yasuhiro Matsumoto
2025-10-13 20:51:46 +09:00
parent 21757bd140
commit 7fdafad1c9

View File

@@ -26,8 +26,12 @@ function! s:handle_signin(data) abort
\ 'sync': v:false,
\ 'on_notification': function('s:handle_finish'),
\ })
redraw
echomsg printf('Set %s on %s', l:command['userCode'], l:command['verificationUri'])
redraw
if get(l:command, 'status') ==# 'AlreadySignedIn'
echomsg l:command['status']
return
endif
echomsg printf('Set %s on %s', l:command['userCode'], l:command['verificationUri'])
endfunction
function! s:handle_signout(data) abort