How to fix this color issue on path.filename_first? #1175
-
Was trying the path.filename_first feature but path part appears in black. Is there anything I can do to fix this on Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Since I just released this feature I hardcoded this part to the terminal grey which is more black in your term colors. I intend to make a highlight group for this linked by default to neovim’s |
Beta Was this translation helpful? Give feedback.
-
The above commit defines a new highlight group
:hi! link FzfLuaDirPart IncSearch
require("fzf-lua").setup({
hls = { dir_part = "IncSearch" }
})
:FzfLua live_grep formatter=path.filename_first hls.dir_part=ErrorMsg FYI, for an easy way to set this for all pickers that contain path entries, use global picker defaults in require("fzf-lua").setup({
defaults = { formatter = "path.filename_first" },
-- rest of your setup
}) |
Beta Was this translation helpful? Give feedback.
e32f3df
The above commit defines a new highlight group
FzfLuaDirPart
(linked toComment
by default):FYI, for an easy way to set this for all pickers that contain path entries, use global picker defaults in
setup.defaults
: