rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Error: File is loaded in another buffer [gitgutter] #229

Closed towry closed 1 year ago

towry commented 8 years ago

The issue happened when I use :w command to save the file, the whole error message is:

Error detected while processing function gitgutter#process_buffer..gitgutter#diff#run_diff:
line 31:
E139: File is loaded in another buffer

This issue only happened in this app, I have never met this before.

rogual commented 8 years ago

Gitgutter gives me similar errors too. Usually if I restart the app, they go away for a while. At some point it will probably annoy me enough that I'll try to get to the bottom of the issue. Feel free to take a stab before then.

jhrmnn commented 8 years ago

I'm getting this also in CLI neovim (current HEAD, gitgutter as well). Also happens only occasionally.

If it's of any help, it seems to coincide with deoplete having stopped working.

jmcphers commented 8 years ago

Also seeing this in HEAD of neovim + gitgutter + neovim.app (all three updated to HEAD today, May 4).

adambiggs commented 8 years ago

Also seeing this in neovim HEAD, but so far only when editing JSON files.

vargad commented 7 years ago

Exactly the same happens in vim 7.4 as well.

Error detected while processing function gitgutter#process_buffer..gitgutter#diff#run_diff:
line   35:
E139: File is loaded in another buffer
mpercy commented 7 years ago

I am also seeing this on latest gitgutter

erikgrueter1 commented 7 years ago

+1

Melkor333 commented 7 years ago

+1 having this when editing my .init.vim. In a session with different buffers & terminals, it occurs:

Error detected while processing function gitgutter#process_buffer..gitgutter#diff#run_diff:
line   35:
E139: File is loaded in another buffer

I haven't tested it any further but, having only nerdtree and init.vim opened (no other buffers), makes it behave normally. But it occurs while editing the file (I guess whenever gitgutter reloads) and as soon as I save, it doesn't occur anymore.

karlhepler commented 7 years ago

+1

jeffrey-l-turner commented 7 years ago

+1

blokezero commented 6 years ago

Seems to happen with any kind of file when I have a quickfix window open. Saving makes it go away.