coolwanglu / neovim-e

Electron UI for Neovim
MIT License
271 stars 29 forks source link

Cannot start with `-u NONE` #20

Closed coolwanglu closed 9 years ago

coolwanglu commented 9 years ago

Run atom-shell . -u NONE, neovim will quit immediately.

coolwanglu commented 9 years ago

Some how atom-shell . -u NONE will be transformed to atom-shell -u . NONE. It could be the behavior of Atom Shell.

coolwanglu commented 9 years ago

Due a bug of atom-shell (https://github.com/atom/atom-shell/issues/1248), please run neovim as atom-shell -- . <nvim arguments> @jmlucjav

jmlucjav commented 9 years ago

I git pulled, and I upgraded to latest atom-shell just in case (0.21.3), and this happens:

...atom-shell\atom -- .
[4988:0317/222624:INFO:renderer_main.cc(211)] Renderer process started
[3264:0317/222624:INFO:CONSOLE(22)] "child process spawned: --embed,. pid: 6736", source: neovim.as\src\nvim\nvim.js (22)
[3264:0317/222624:INFO:CONSOLE(25)] "child process closed", source: neovim.as\src\nvim\nvim.js (25)
[4988:0317/222624:ERROR:webgraphicscontext3d_command_buffer_impl.cc(243)] Failed to initialize GLES2CmdHelper.

this still works

\neovim\atom-shell\atom .
coolwanglu commented 9 years ago

That's weird. Did you run grunt again?

jmlucjav commented 9 years ago

ooopps, ok so grunt recompiles coffescript to js...ok got it. Recompiling...

atom.exe -- . -u NONE -U NONE

works, but

atom.exe -- . -u NONE -U NONE eval.c

fails with:

neovim.as>[6428:0318/114342:INFO:renderer_main.cc(211)] Renderer process started
[6904:0318/114342:INFO:CONSOLE(22)] "child process spawned: 5420", source: neovim.as\src\nvim\nvim.js (22)
[6904:0318/114342:INFO:CONSOLE(25)] "child process closed", source: neovim.as\src\nvim\nvim.js (25)
[6428:0318/114342:ERROR:webgraphicscontext3d_command_buffer_impl.cc(213)] CommandBufferProxy::Initialize failed.
[6428:0318/114342:ERROR:webgraphicscontext3d_command_buffer_impl.cc(230)] Failed to initialize command buffer.

eval.c being in the same dir.

coolwanglu commented 9 years ago

Isn't -c to execute some commend? I cannot run nvim with nvim -c.

jmlucjav commented 9 years ago

sorry, I was editing my pasted commandline cause I tried many combinations, fixed the correct invokations

coolwanglu commented 9 years ago

I cannot reproduce on a MAC unfortunately. Hopefully someone else will be able to.

syswow commented 9 years ago

i cannot reproduce on ubuntu too.

coolwanglu commented 9 years ago

Seems that it has been fixed in the latest Atom-Shell. I will change accordingly later.

coolwanglu commented 9 years ago

The bug of atom shell has been fixed and released. This should be fine now (with latest Atom Shell)

jmlucjav commented 9 years ago

tested on win7 and confirmed it works now