Skip to content

Commit 8096387

Browse files
Add gist_post_anonymous option
1 parent 802dc50 commit 8096387

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
@@ -675,7 +675,7 @@ function! gist#Gist(count, line1, line2, ...) abort
675675
let clipboard = 0
676676
let deletepost = 0
677677
let editpost = 0
678-
let anonymous = 0
678+
let anonymous = get(g:, 'gist_post_anonymous', 0)
679679
let openbrowser = 0
680680
let listmx = '^\%(-l\|--list\)\s*\([^\s]\+\)\?$'
681681
let bufnamemx = '^' . s:bufprefix .'\(\zs[0-9a-f]\+\ze\|\zs[0-9a-f]\+\ze[/\\].*\)$'

0 commit comments

Comments
 (0)