Skip to content

Commit 6a37310

Browse files
committed
nvim: remove unsupported opts document on AttachBuffer
1 parent ee5cbe9 commit 6a37310

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

nvim/api_def.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -770,14 +770,6 @@ func BufferLineCount(buffer Buffer) (count int) {
770770
// If false, the first notification will be a `nvim_buf_lines_event`.
771771
// Otherwise, the first notification will be a `nvim_buf_changedtick_event`
772772
//
773-
// The opts is optional parameters.
774-
//
775-
// utf_sizes
776-
// Include UTF-32 and UTF-16 size of the replaced region, as args to `on_lines`.
777-
//
778-
// preview
779-
// Also attach to command preview (i.e. 'inccommand') events.
780-
//
781773
// Returns whether the updates couldn't be enabled because the buffer isn't loaded or opts contained an invalid key.
782774
func AttachBuffer(buffer Buffer, sendBuffer bool, opts map[string]interface{}) (attached bool) {
783775
name(nvim_buf_attach)

0 commit comments

Comments
 (0)