plugins.flash.modes.treesitter.search.automatic

Automatically set the values according to context. Same as passing search = {} in lua

Type: boolean

Default: false

Declared by:

plugins.flash.modes.treesitter.search.exclude

Excluded filetypes and custom window filters

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "notify"
  "cmp_menu"
  "noice"
  "flash_prompt"
  (
    helpers.mkRaw
    ''
      function(win)
        return not vim.api.nvim_win_get_config(win).focusable
      end
    ''
  )
]

Declared by:

plugins.flash.modes.treesitter.search.forward

search direction

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.flash.modes.treesitter.search.incremental

behave like incsearch

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.flash.modes.treesitter.search.maxLength

max pattern length. If the pattern length is equal to this labels will no longer be skipped. When it exceeds this length it will either end in a jump or terminate the search

Type: null or value false (singular enum) or signed integer

Default: null

Plugin default: false

Declared by:

plugins.flash.modes.treesitter.search.mode

  • exact: exact match
  • search: regular search
  • fuzzy: fuzzy search
  • fun(str): custom search function that returns a pattern For example, to only match at the beginning of a word: function(str) return “\<” … str end

Type: null or one of “exact”, “search”, “fuzzy” or raw lua code

Default: null

Plugin default: "exact"

Declared by:

plugins.flash.modes.treesitter.search.multiWindow

search/jump in all windows

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.flash.modes.treesitter.search.trigger

Optional trigger character that needs to be typed before a jump label can be used. It’s NOT recommended to set this, unless you know what you’re doing

Type: null or string or raw lua code

Default: null

Plugin default: ""

Declared by:

plugins.flash.modes.treesitter.search.wrap

when false, find only matches in the given direction

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: