Skip to content
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

Gist contains binary #220

Open
Trulsaa opened this issue Apr 17, 2019 · 1 comment
Open

Gist contains binary #220

Trulsaa opened this issue Apr 17, 2019 · 1 comment

Comments

@Trulsaa
Copy link

Trulsaa commented Apr 17, 2019

When pressing enter or o on a gist in the gist-listing buffer I get the "Gist contains binary" error. This applies to public, secret and anonymous gists.

Has anyone seen this issue before?

@jinmiaoluo
Copy link

jinmiaoluo commented Jun 28, 2019

Same error.
Neovim version: 0.3.7
Gist.vim version: commit 3abf244
What did I do:

vim test.txt
add some text and upload it
:Gist
open browser automatically
return to Neovim
:Gist -l
find the gist with the same name
press enter
can't get the gist with an error 

image

my Neovim config:

...
Plug 'mattn/gist-vim' | Plug 'mattn/webapi-vim'
...
let g:gist_open_browser_after_post = 1
let g:gist_show_privates = 1

iiifr added a commit to iiifr/vim-gist that referenced this issue Aug 24, 2020
If repeatly opening a same file on the vim-gist, vim-gist gives
the new buffer the same name  as previous buffer, without deleting
the opened buffer first. Then a `file E95` exception is thrown,
and vim-gist will echo error message `Gist contains binary`.

Probably corressponding issue report:
mattn#220
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

No branches or pull requests

2 participants