-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Description
Following README#configuration I set in NVIM v0.11.1 next:
require('illuminate').configure({
delay = 5000,
under_cursor = true,
case_insensitive_regex = false,
disable_keymaps = true
})- The
delayandunder_cursorsettings do yes work. It takes 5 secs to underline matches. - But the maps Alt+P and Alt+N to jump to prev./next match (
:h illuminate-quickstart) are still valid. Another proof is that:Mapsof fzf.vim still shows them:
I tried setting disable_keymaps = false, just in case the logic was the opposite, but still the maps are valid.
Output from :IlluminateDebug
buf_should_illuminate 1 true
config {
case_insensitive_regex = false,
delay = 5000,
disable_keymaps = true,
filetype_overrides = {},
filetypes_allowlist = {},
filetypes_denylist = { "dirbuf", "dirvish", "fugitive" },
large_file_cutoff = 10000,
min_count_to_highlight = 1,
modes_allowlist = {},
modes_denylist = {},
providers = { "lsp", "treesitter", "regex" },
providers_regex_syntax_allowlist = {},
providers_regex_syntax_denylist = {},
under_cursor = true
}
started true
provider table: 0x7fe840d59ad0 regex
`termguicolors` true
Topic related: A
It's not specified in README#vim-users how to disable/enable the default mappings in Vim. Though I think they are by default disabled. Maybe alike next?
lua << EOF
require('illuminate').configure({ disable_keymaps = true })
EOFTopic related: B
:IlluminateDebug not work in Vim 9.1.
Metadata
Metadata
Assignees
Labels
No labels