plugins.flash.settings.modes.treesitter_search.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"
{
__raw = ''
function(win)
-- exclude non-focusable windows
return not vim.api.nvim_win_get_config(win).focusable
end
'';
}
]
Declared by:
plugins.flash.settings.modes.treesitter_search.search.forward
Search direction
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.flash.settings.modes.treesitter_search.search.incremental
Behave like incsearch
.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.flash.settings.modes.treesitter_search.search.max_length
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.settings.modes.treesitter_search.search.mode
Each mode will take ignorecase
and smartcase
into account.
exact
: exact matchsearch
: regular searchfuzzy
: fuzzy search__raw
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.settings.modes.treesitter_search.search.multi_window
Search/jump in all windows
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.flash.settings.modes.treesitter_search.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.settings.modes.treesitter_search.search.wrap
Continue searching after reaching the start/end of the file.
When false
, find only matches in the given direction
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by: