dzhou121 / gonvim

MIT License
1.79k stars 34 forks source link

Empty app window #15

Open leonklingele opened 7 years ago

leonklingele commented 7 years ago

gonvim doesn't work for me, it just shows this empty window: gonvim-empty-window

EDIT: Using latest revision d234997d3a21a896de1ed2c78be9e3c4cd0943c7 on OS X 10.11.6

jackielii commented 7 years ago

I think you have to install neovim > v0.2

dzhou121 commented 7 years ago

What is your golang version? Please upgrade golang to the latest.

leonklingele commented 7 years ago

Latest Go version: go version go1.8.3 darwin/amd64

leonklingele commented 7 years ago

Latest master (10fa177ee284106fd80ea66f5fa361cb2b36fe15) is still broken.

dzhou121 commented 7 years ago

And neovim version?

leonklingele commented 7 years ago

See my previous comment: https://github.com/dzhou121/gonvim/issues/15#issuecomment-305147922

dzhou121 commented 7 years ago

Also, does it output anything in the command line?

leonklingele commented 7 years ago

Also, does it output anything in the command line?

No

dzhou121 commented 7 years ago

I mean nvim --version. I don't see that.

leonklingele commented 7 years ago

nvim? gonvim --version results in the same empty window as without `--version

dzhou121 commented 7 years ago

Your neovim version? This a GUI client on top of neovim. So it wouldn't work if you haven't installed neovim.

leonklingele commented 7 years ago

Requirements Neovim

Oh.. I totally missed that. 🙀 It still would be nice to show an error instead of an empty view if neovim is not installed.

dzhou121 commented 7 years ago

Yeah that's true. I'll fix that.

leonklingele commented 7 years ago

I have installed nvim v0.2.0 now. gonvim still shows an empty window but logs something to the command line:

Unhandle event update_sp
Unhandle event mode_info_set
dzhou121 commented 7 years ago

There is a static c library which was compiled in macOS 10.12.5

So probably it doens't work well in older macOS versions.

edgarcosta commented 7 years ago

There is a static c library which was compiled in macOS 10.12.5

Could you please elaborate on that? Which static library are you talking about?

In my case I get:

$ gonvim 
Unhandle event mode_info_set

and at exit

lint error msgpack/rpc: session closed
lint error msgpack/rpc: session closed
dzhou121 commented 7 years ago

@edgarcosta what is your OS and version?

edgarcosta commented 7 years ago

@dzhou121 mac OS 10.11.6

adamki commented 7 years ago

Im also seeing this.

$ gonvim 
Unhandle event mode_info_set

NVIM v0.2.0 go version go1.8.3 darwin/amd64 Mac 10.11.6

Shougo commented 7 years ago

@adamki

There is a static c library which was compiled in macOS 10.12.5

So probably it doens't work well in older macOS versions.

edgarcosta commented 7 years ago

@dzhou121 Could you please tell me which static C library are you talking about?

dzhou121 commented 7 years ago

Please try the latest Gonvim release.