@@ -14,7 +14,6 @@ package main
1414// vim.c
1515
1616// Exec executes Vimscript (multiline block of Ex-commands), like anonymous source.
17- // Exec executes Vimscript (multiline block of Ex-commands), like anonymous |:source|.
1817//
1918// Unlike Command, this function supports heredocs, script-scope (s:), etc.
2019//
@@ -322,7 +321,7 @@ func SetOption(name string, value interface{}) {
322321// If history is true, add to |message-history|.
323322//
324323// The opts arg is optional parameters. Reserved for future use.
325- func Echo (chunks []EchoChunk , history bool , opts map [string ]interface {}) {
324+ func Echo (chunks []TextChunk , history bool , opts map [string ]interface {}) {
326325 name (nvim_echo )
327326}
328327
@@ -927,7 +926,7 @@ func BufferExtmarkByID(buffer Buffer, nsID, id int, opt map[string]interface{})
927926//
928927// details
929928// Whether to include the details dict. bool type.
930- func BufferExtmarks (buffer Buffer , nsID int , start , end interface {}, opt map [string ]interface {}) (marks []ExtMarks ) {
929+ func BufferExtmarks (buffer Buffer , nsID int , start , end interface {}, opt map [string ]interface {}) (marks []ExtMark ) {
931930 name (nvim_buf_get_extmarks )
932931}
933932
@@ -958,7 +957,7 @@ func BufferExtmarks(buffer Buffer, nsID int, start, end interface{}, opt map[str
958957// Name ar ID of the highlight group used to highlight this mark. string or int type.
959958//
960959// virt_text
961- // virtual text to link to this mark. VirtualTextChunk type.
960+ // virtual text to link to this mark. TextChunk type.
962961//
963962// ephemeral
964963// For use with SetDecorationProvider callbacks. bool type.
@@ -1039,7 +1038,7 @@ func ClearBufferHighlight(buffer Buffer, srcID, startLine, endLine int) {
10391038// virtual text, the allocated id is then returned.
10401039//
10411040// The opts arg is reserved for future use.
1042- func SetBufferVirtualText (buffer Buffer , nsID , line int , chunks []VirtualTextChunk , opts map [string ]interface {}) (id int ) {
1041+ func SetBufferVirtualText (buffer Buffer , nsID , line int , chunks []TextChunk , opts map [string ]interface {}) (id int ) {
10431042 name (nvim_buf_set_virtual_text )
10441043}
10451044
0 commit comments