Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Commit

Permalink
Fix Gista logout
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Jan 19, 2016
1 parent 7275b81 commit 8bac83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/gista/command/logout.vim
Expand Up @@ -10,7 +10,7 @@ function! gista#command#logout#call(...) abort
\}, get(a:000, 0, {}))
try
let apiname = gista#client#get_valid_apiname(options.apiname)
call gista#client#set(apiname, {})
call gista#client#set(apiname, { 'username': '' })
let client = gista#client#get()
call gista#util#prompt#echo(printf(
\ 'Logout from %s',
Expand Down

0 comments on commit 8bac83f

Please sign in to comment.