Skip to content

Commit 108c15e

Browse files
committed
Merge pull request #186 from blueyed/improve-no-gh-account-error-message
minor: improve grammar with "no github account" error message
2 parents f76987b + e09acaf commit 108c15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/gist.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ function! gist#Gist(count, bang, line1, line2, ...) abort
712712
let listmx = '^\%(-l\|--list\)\s*\([^\s]\+\)\?$'
713713
let bufnamemx = '^' . s:bufprefix .'\(\zs[0-9a-f]\+\ze\|\zs[0-9a-f]\+\ze[/\\].*\)$'
714714
if strlen(g:github_user) == 0 && anonymous == 0
715-
echohl ErrorMsg | echomsg 'You don''t have github account. read '':help gist-vim-setup''.' | echohl None
715+
echohl ErrorMsg | echomsg 'You don''t have configured a Github account. Read '':help gist-vim-setup''.' | echohl None
716716
return
717717
endif
718718
if a:bang == '!'

0 commit comments

Comments
 (0)