Skip to content

Commit 1fb4313

Browse files
committed
nvim: mark deprecatedSince to SetBufferVirtualText
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent b4b68fa commit 1fb4313

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

nvim/api_def.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
165165
func 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.
11361136
func 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.
11601162
func 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

Comments
 (0)