plugins.flash.modes.treesitterSearch.search.automatic
Automatically set the values according to context. Same as passing search = {}
in lua
Type: boolean
Default:
false
Declared by:
plugins.flash.modes.treesitterSearch.search.exclude
Excluded filetypes and custom window filters
Plugin default:
[
"notify"
"cmp_menu"
"noice"
"flash_prompt"
(
helpers.mkRaw
''
function(win)
return not vim.api.nvim_win_get_config(win).focusable
end
''
)
]
Type: null or (list of (string or raw lua code))
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.search.forward
search direction
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.search.incremental
behave like incsearch
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.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
Plugin default: false
Type: null or value false (singular enum) or signed integer
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.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
Plugin default: "exact"
Type: null or one of “exact”, “search”, “fuzzy” or raw lua code
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.search.multiWindow
search/jump in all windows
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.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
Plugin default: ""
Type: null or string or raw lua code
Default:
null
Declared by:
plugins.flash.modes.treesitterSearch.search.wrap
when false
, find only matches in the given direction
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by: