Skip to content

Commit

Permalink
feat: fzf-lua
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 9, 2024
1 parent f9e738e commit 0f9d161
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lua/tokyonight/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@ function M.setup()
TelescopePromptTitle = { fg = c.orange, bg = c.bg_float },
TelescopeResultsComment = { fg = c.dark3 },

-- FzfLua
FzfLuaBorder = { fg = c.border_highlight, bg = c.bg_float },
FzfLuaNormal = { fg = c.fg, bg = c.bg_float },
FzfLuaTitle = { fg = c.orange, bg = c.bg_float },
FzfLuaPreviewTitle = { fg = c.border_highlight, bg = c.bg_float },
FzfLuaResultsComment = { fg = c.dark3 },
FzfLuaMarker = { fg = c.magenta2 },

-- NvimTree
NvimTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NvimTreeWinSeparator = {
Expand Down

2 comments on commit 0f9d161

@ibhagwan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @folke, ty for adding this, FYI, fzf-lua also respects vim.g.fzf_colors in case you wanted to setup the terminal fzf highlights (with neovim highlight groups), see:
https://github.com/ibhagwan/fzf-lua?tab=readme-ov-file#fzf-colors

@folke
Copy link
Owner Author

@folke folke commented on 0f9d161 Jun 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm setting those in the LazyVim fzf-lua extra I'm working on https://github.com/LazyVim/LazyVim/pull/3555/files#diff-d2c11ff703a0823d5dcaf3137ebf3f0673e30da971e8b1a13ae4b277ba198e72
But might indeed be a good idea to set them in tokyonight if vim.g.fzf_colors is not set by the user

Please sign in to comment.