neovim / go-client

Nvim Go client
https://pkg.go.dev/github.com/neovim/go-client
Apache License 2.0
561 stars 37 forks source link

All api calls blocked if init.vim has syntax errors #140

Closed hismailbulut closed 2 years ago

hismailbulut commented 2 years ago

After connected to neovim as GUI, I could not call any api functions like SetApiInfo if there is a syntax error. If I call it concurrently only goroutine waits and program continues but some of the calls like TryResizeUI responses visibly late (grid_resize) Before you ask my client has another handler and users can set client options with some set of commands. Users be able to set this options via init.vim and I have to resize the grid at this time, after the first flush but before showing the window.

justinmk commented 2 years ago

After connected to neovim as GUI,

when reporting an issue please provide exact steps. :help --embed explains the way to start Nvim while avoiding the issue you have reported. If that doesn't work for some reason, say exactly what you tried and what happened.

hismailbulut commented 2 years ago

After I read docs again I understand that my configuration system is complicated and I understand why so many gui clients uses their own config file. Thanks.