Skip to content

Delete the name-duplicating buffer before ceating a gist file buffer#229

Open
iiifr wants to merge 1 commit intomattn:masterfrom
iiifr:master
Open

Delete the name-duplicating buffer before ceating a gist file buffer#229
iiifr wants to merge 1 commit intomattn:masterfrom
iiifr:master

Conversation

@iiifr
Copy link

@iiifr iiifr commented 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:
#220

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
@xbot
Copy link

xbot commented Jun 1, 2022

@mattn Hi, mind merging this PR ASAP? I just came across this problem too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants