Skip to content

Instantly share code, notes, and snippets.

@mfojtik
Created November 9, 2011 17:17
Show Gist options
  • Save mfojtik/1352145 to your computer and use it in GitHub Desktop.
Save mfojtik/1352145 to your computer and use it in GitHub Desktop.
rl = s:GistPost(user, token, content, private)
endif
endif
if len(url) > 0
if g:gist_open_browser_after_post
call append(a:line2, "# ".url)
endif
if g:gist_put_url_to_clipboard_after_post > 0
if g:gist_put_url_to_clipboard_after_post == 2
let url = url . "\n"
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment