Closed zchee closed 5 years ago
@justinmk Is there a way of checks exists virtual text? such as offset, col size or etc.
Currently, virtual_text
testcase is not checked.
@justinmk Is there a way of checks exists virtual text? such as offset, col size or etc.
I think not yet.
Fix
SetBufferVirtualText
chunks arg type and fix godoc comment.In the
chunks
arg onSetBufferVirtualText
,[]interface{}
type not developer friendly. AddVirtualTextChunk
struct type and changechunks
type to[]VirtualTextChunk
.The example usage exists in
nvim_test.go
.