plugins.flash.settings.modes.treesitter.label.after

Show the label after the match

Type: null or boolean or list of signed integer or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.flash.settings.modes.treesitter.label.before

Show the label before the match

Type: null or boolean or list of signed integer or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.flash.settings.modes.treesitter.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.settings.modes.treesitter.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.settings.modes.treesitter.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.settings.modes.treesitter.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:

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

Declared by:

plugins.flash.settings.modes.treesitter.label.min_pattern_length

minimum pattrn 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.settings.modes.treesitter.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.settings.modes.treesitter.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: "inline"

Declared by:

plugins.flash.settings.modes.treesitter.label.uppercase

Allow uppercase labels.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: