@@ -161,7 +161,7 @@ func ReplaceTermcodes(str string, fromPart, doLT, special bool) (input string) {
161161
162162// CommandOutput executes a single ex command and returns the output.
163163//
164- // Deprecated: Use Exec() instead.
164+ // Deprecated: Use Exec instead.
165165func CommandOutput (cmd string ) (out string ) {
166166 name (nvim_command_output )
167167 deprecatedSince (7 )
@@ -1132,7 +1132,7 @@ func ClearBufferNamespace(buffer Buffer, nsID, lineStart, lineEnd int) {
11321132// The lineStart and lineEnd parameters specify the range of lines to clear.
11331133// The end of range is exclusive. Specify -1 to clear to the end of the file.
11341134//
1135- // Deprecated: Use ClearBufferNamespace() instead.
1135+ // Deprecated: Use ClearBufferNamespace instead.
11361136func ClearBufferHighlight (buffer Buffer , srcID , startLine , endLine int ) {
11371137 name (nvim_buf_clear_highlight )
11381138 deprecatedSince (7 )
@@ -1157,8 +1157,11 @@ func ClearBufferHighlight(buffer Buffer, srcID, startLine, endLine int) {
11571157// virtual text, the allocated id is then returned.
11581158//
11591159// The opts arg is reserved for future use.
1160+ //
1161+ // Deprecated: Use SetBufferExtmark instead.
11601162func SetBufferVirtualText (buffer Buffer , nsID , line int , chunks []TextChunk , opts map [string ]interface {}) (id int ) {
11611163 name (nvim_buf_set_virtual_text )
1164+ deprecatedSince (8 )
11621165}
11631166
11641167// window.c
0 commit comments