@@ -14,7 +14,6 @@ package main
14
14
// vim.c
15
15
16
16
// Exec executes Vimscript (multiline block of Ex-commands), like anonymous source.
17
- // Exec executes Vimscript (multiline block of Ex-commands), like anonymous |:source|.
18
17
//
19
18
// Unlike Command, this function supports heredocs, script-scope (s:), etc.
20
19
//
@@ -322,7 +321,7 @@ func SetOption(name string, value interface{}) {
322
321
// If history is true, add to |message-history|.
323
322
//
324
323
// 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 {}) {
326
325
name (nvim_echo )
327
326
}
328
327
@@ -927,7 +926,7 @@ func BufferExtmarkByID(buffer Buffer, nsID, id int, opt map[string]interface{})
927
926
//
928
927
// details
929
928
// 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 ) {
931
930
name (nvim_buf_get_extmarks )
932
931
}
933
932
@@ -958,7 +957,7 @@ func BufferExtmarks(buffer Buffer, nsID int, start, end interface{}, opt map[str
958
957
// Name ar ID of the highlight group used to highlight this mark. string or int type.
959
958
//
960
959
// virt_text
961
- // virtual text to link to this mark. VirtualTextChunk type.
960
+ // virtual text to link to this mark. TextChunk type.
962
961
//
963
962
// ephemeral
964
963
// For use with SetDecorationProvider callbacks. bool type.
@@ -1039,7 +1038,7 @@ func ClearBufferHighlight(buffer Buffer, srcID, startLine, endLine int) {
1039
1038
// virtual text, the allocated id is then returned.
1040
1039
//
1041
1040
// 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 ) {
1043
1042
name (nvim_buf_set_virtual_text )
1044
1043
}
1045
1044
0 commit comments