Skip to content

Conversation

zchee
Copy link
Member

@zchee zchee commented May 13, 2019

Fix SetBufferVirtualText chunks arg type and fix godoc comment.

In the chunks arg on SetBufferVirtualText, []interface{} type not developer friendly. Add VirtualTextChunk struct type and change chunks type to []VirtualTextChunk.

The example usage exists in nvim_test.go.

@zchee zchee requested a review from justinmk May 13, 2019 12:55
@zchee zchee self-assigned this May 13, 2019
@zchee zchee force-pushed the nvim/fix-virtualtext-chunks branch from f963943 to ccfe3fb Compare May 13, 2019 13:05
@zchee
Copy link
Member Author

zchee commented May 13, 2019

@justinmk Is there a way of checks exists virtual text? such as offset, col size or etc.
Currently, virtual_text testcase is not checked.

@zchee zchee force-pushed the nvim/fix-virtualtext-chunks branch from ccfe3fb to 1c7c559 Compare May 13, 2019 13:24
@zchee zchee force-pushed the nvim/fix-virtualtext-chunks branch from 1c7c559 to 8545c79 Compare May 13, 2019 13:30
@justinmk
Copy link
Member

@justinmk Is there a way of checks exists virtual text? such as offset, col size or etc.

I think not yet.

@justinmk justinmk merged commit 767661b into master May 16, 2019
@justinmk justinmk deleted the nvim/fix-virtualtext-chunks branch May 16, 2019 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants