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

Improve test TestAPI/Extmarks/Batch #175

Closed garyburd closed 2 months ago

garyburd commented 2 months ago

Do not make assumptions about how nvim_buf_set_extmark() assigns IDs.

Validate that SetBufferExtmark returned the correct ID by relying on existing test code code that compares the returned ID with the results from BufferExmarks.

justinmk commented 2 months ago

ref https://github.com/neovim/go-client/issues/171