Skip to content

Commit 2020fff

Browse files
committed
nvim: fix nvim_buf_get_extmark_by_id and nvim_buf_set_extmark args
1 parent 73e6386 commit 2020fff

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

nvim/apidef.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func BufferMark(buffer Buffer, name string) [2]int {
171171
}
172172

173173
// BufferExtmarkByID returns position for a given extmark id.
174-
func BufferExtmarkByID(buffer Buffer, nsID int, id int) []int {
174+
func BufferExtmarkByID(buffer Buffer, nsID int, id int, opt map[string]interface{}) []int {
175175
name(nvim_buf_get_extmark_by_id)
176176
}
177177

@@ -204,7 +204,7 @@ func BufferExtmarks(buffer Buffer, nsID int, start interface{}, end interface{},
204204
// (Useful over RPC, to avoid waiting for the return value.)
205205
//
206206
// Currently opts arg not used.
207-
func SetBufferExtmark(buffer Buffer, nsID int, extmarkID int, line int, col int, opts map[string]interface{}) int {
207+
func SetBufferExtmark(buffer Buffer, nsID int, line int, col int, opts map[string]interface{}) int {
208208
name(nvim_buf_set_extmark)
209209
}
210210

nvim/apiimp.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)