plugins.flash.modes.treesitterSearch.label.after

show the label after the match

Type: null or boolean or list of signed integer

Default: null

Plugin default: true

Declared by:

plugins.flash.modes.treesitterSearch.label.before

show the label before the match

Type: null or boolean or list of signed integer

Default: null

Plugin default: false

Declared by:

plugins.flash.modes.treesitterSearch.label.current

add a label for the first match in the current window. you can always jump to the first match with <CR>

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.flash.modes.treesitterSearch.label.distance

for the current window, label targets closer to the cursor first

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.flash.modes.treesitterSearch.label.exclude

add any labels with the correct case here, that you want to exclude

Type: null or string or raw lua code

Default: null

Plugin default: ""

Declared by:

plugins.flash.modes.treesitterSearch.label.format

With format, you can change how the label is rendered. Should return a list of [text, highlight] tuples. @class Flash.Format @field state Flash.State @field match Flash.Match @field hl_group string @field after boolean @type fun(opts:Flash.Format): string[][]

Type: null or lua function string

Default: null

Plugin default:

format = function(opts)
  return { { opts.match.label, opts.hl_group } }
end

Declared by:

plugins.flash.modes.treesitterSearch.label.minPatternLength

minimum pattern length to show labels Ignored for custom labelers.

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 0

Declared by:

plugins.flash.modes.treesitterSearch.label.reuse

flash tries to re-use labels that were already assigned to a position, when typing more characters. By default only lower-case labels are re-used.

Type: null or one of “lowercase”, “all”, “none” or raw lua code

Default: null

Plugin default: "lowercase"

Declared by:

plugins.flash.modes.treesitterSearch.label.style

position of the label extmark

Type: null or one of “eol”, “overlay”, “right_align”, “inline” or raw lua code

Default: null

Plugin default: "overlay"

Declared by:

plugins.flash.modes.treesitterSearch.label.uppercase

allow uppercase labels

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: