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: