Open proofer opened 2 years ago
@proofer Ummm, I can't reproduce it in my environment, but maybe some setting of yours is conflicting with macmap.vim and causing goneovim to hang. Does the following command work correctly?
/Applications/goneovim.app/Contents/MacOS/goneovim -u NONE --cmd "source /path/to/macmap.vim"
@akiyosi
It opens to an empty buffer.
Here is the command I used:
/Applications/goneovim.app/Contents/MacOS/goneovim -u NONE --cmd "source /Users/proofer/.config/goneovim/macmap.vim"
But now whether I open macmap.vim with Finder or with netrw browser it opens fine, either 0.6.3 or nightly-1-gccee4b8. Initial report was opening file with Finder, 0.6.3. I think the only change since then is setting [Sidebar] visible=true.
I think I found the problem. If there is a .swp file for the file in ~/.local/share/nvim/swap then when the file is opened in Finder via "Open With goneovim.app", goneovim will hang after several seconds of showing an empty buffer. But if it is opened from within goneovim such as by :edit or by netrw, then nvim will put up a warning about the .swp existing, with a prompt providing several options.
Yes, goneovim is a frontend to neovim, sort of like a plugin. if you get any error messages when starting nvim, goneovim's attachment process to nvim may be hung. I wonder how other GUI frontends solve this problem.
I saved the macmap.vim file linked on the /Wiki/Tips age to my disk. When I attempt to open it with goneovim, it hangs. If needed, I can provide the details captured after "Force Quit" in the "Send to Apple" option (2.2 MB). The file opens OK with nvim and with MacVim.