Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

plugins.bufferline.settings.options.custom_filter

fun(buf: number, bufnums: number[]): boolean

NOTE: this will be called a lot so don’t do any heavy processing here.

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.bufferline.settings.options.diagnostics_indicator

Either null or a function that returns the diagnostics indicator.

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.bufferline.settings.options.get_element_icon

Lua function returning an element icon.

fun(opts: IconFetcherOpts): string?, string?

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.bufferline.settings.options.name_formatter

A lua function that can be used to modify the buffer’s label. The argument ‘buf’ containing a name, path and bufnr is supplied.

Type: null or lua function string

Default: null

Plugin default: null

Declared by: