Skip to content

Fall back to ix.io when anonymous flag is used (Gist no longer supports anonymous posts) #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

olalonde
Copy link

See issue #217

echohl ErrorMsg | echomsg 'Post failed: '. res | echohl None
endif
return loc
endfunction
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. But I want to drop anonymous post.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah alright then. It was my first time writing VimL 👍

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to keep this, please do

if exists('g:gist_anonymous_fallback')
  return call('g:gist_anonymous_fallback', [a:content])
endif
" raise error?

@olalonde olalonde closed this Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants