mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
Change easy motion colors
Attempt to highlight match, and not jump key.
This commit is contained in:
parent
c92c8d4a6d
commit
61ee194901
1 changed files with 22 additions and 0 deletions
|
|
@ -5,7 +5,29 @@ return {
|
|||
modes = {
|
||||
char = { enabled = false }, -- Disable `f` and `t` enhancements
|
||||
},
|
||||
label = {
|
||||
-- after = false,
|
||||
rainbow = {
|
||||
enabled = false,
|
||||
},
|
||||
format = function(opts)
|
||||
return { { opts.match.label, "FlashLabel" } } -- Replace the character with the label
|
||||
end,
|
||||
-- uppercase = false, -- Use lowercase labels
|
||||
-- rainbow = false, -- Disable rainbow colors
|
||||
-- format = function(opts)
|
||||
-- return { { opts.match.label, "FlashLabel" } } -- Replace the character with the label
|
||||
-- end,
|
||||
},
|
||||
search = {
|
||||
mode = "exact",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
vim.api.nvim_set_hl(0, "FlashLabel", { fg = "#ffcc00", bg = "NONE", bold = true })
|
||||
vim.api.nvim_set_hl(0, "FlashMatch", { fg = "#ff6600", bg = "NONE", bold = true })
|
||||
vim.api.nvim_set_hl(0, "FlashCurrent", { fg = "#ffffff", bg = "#ff0000", bold = true })
|
||||
end,
|
||||
keys = {
|
||||
-- <leader>f{char} to move to {char}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue