-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About HandleFunction #75
Comments
Hello @zchee and @glepnir . I have created a repo https://github.com/WhoIsSethDaniel/nvim-go-client-examples that attempts to have many examples of how to use the Neovim go-client, along with documentation. I anticipate updating it more over time as I become more familiar with the client. |
@WhoIsSethDaniel thanks for share! also, your repository very helpful. And yeah, go-client has lot of API, also usage is tricky a bit. Anyway, thanks for write some examples! |
To be honest, I recently used lua to write neovim things, and participated in maintaining neovim's built-in lsp, it is very simple and powerful. I will read your example carefully when I have time, because I am a gopher and neovim also lacks some plugins written in go. Thanks for your work. 😄 |
I found
HandleFunciton
needs two argsoptions
andfn interface{}
, the sceond arg is a interface type. so i define a function return a string send functionname as arg to it.got error.but change the return value to (string,error) then it works...
The text was updated successfully, but these errors were encountered: