neovim / go-client

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

Support neovim/neovim@0ce8800 api #40

Closed zchee closed 5 years ago

zchee commented 5 years ago

Support neovim/neovim@0ce8800 API.

compare is here:

> nvim_buf_clear_namespace(buffer Buffer, ns_id Integer, line_start Integer, line_end Integer) void { name(nvim_buf_clear_namespace) }
> nvim_buf_get_offset(buffer Buffer, index Integer) Integer { name(nvim_buf_get_offset) }
> nvim_buf_set_virtual_text(buffer Buffer, ns_id Integer, line Integer, chunks Array, opts Dictionary) Integer { name(nvim_buf_set_virtual_text) }
> nvim_create_namespace(name String) Integer { name(nvim_create_namespace) }
> nvim_get_namespaces() Dictionary { name(nvim_get_namespaces) }
> nvim_win_set_buf(window Window, buffer Buffer) void { name(nvim_win_set_buf) }

Note that depends #36

zchee commented 5 years ago

Close. I'll send again includes more Neovim latest APIs.