@@ -161,7 +161,7 @@ func ReplaceTermcodes(str string, fromPart, doLT, special bool) (input string) {
161
161
162
162
// CommandOutput executes a single ex command and returns the output.
163
163
//
164
- // Deprecated: Use Exec() instead.
164
+ // Deprecated: Use Exec instead.
165
165
func CommandOutput (cmd string ) (out string ) {
166
166
name (nvim_command_output )
167
167
deprecatedSince (7 )
@@ -1132,7 +1132,7 @@ func ClearBufferNamespace(buffer Buffer, nsID, lineStart, lineEnd int) {
1132
1132
// The lineStart and lineEnd parameters specify the range of lines to clear.
1133
1133
// The end of range is exclusive. Specify -1 to clear to the end of the file.
1134
1134
//
1135
- // Deprecated: Use ClearBufferNamespace() instead.
1135
+ // Deprecated: Use ClearBufferNamespace instead.
1136
1136
func ClearBufferHighlight (buffer Buffer , srcID , startLine , endLine int ) {
1137
1137
name (nvim_buf_clear_highlight )
1138
1138
deprecatedSince (7 )
@@ -1157,8 +1157,11 @@ func ClearBufferHighlight(buffer Buffer, srcID, startLine, endLine int) {
1157
1157
// virtual text, the allocated id is then returned.
1158
1158
//
1159
1159
// The opts arg is reserved for future use.
1160
+ //
1161
+ // Deprecated: Use SetBufferExtmark instead.
1160
1162
func SetBufferVirtualText (buffer Buffer , nsID , line int , chunks []TextChunk , opts map [string ]interface {}) (id int ) {
1161
1163
name (nvim_buf_set_virtual_text )
1164
+ deprecatedSince (8 )
1162
1165
}
1163
1166
1164
1167
// window.c
0 commit comments