Skip to content

Commit

Permalink
feat(extensions): support transparent fzflua window
Browse files Browse the repository at this point in the history
resolves #120
  • Loading branch information
scottmckendry committed Aug 12, 2024
1 parent 31f31f2 commit 1854b40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ require("cyberdream").setup({
-- Replace all fillchars with ' ' for the ultimate clean look
hide_fillchars = false,

-- Modern borderless telescope theme
-- Modern borderless telescope theme - also applies to fzf-lua
borderless_telescope = true,

-- Set terminal colors used in `:terminal`
Expand Down
7 changes: 7 additions & 0 deletions lua/cyberdream/extensions/fzflua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ function M.get(opts, t)
FzfLuaFzfInfo = { fg = t.cyan },
}

if not opts.borderless_telescope then
highlights.FzfLuaNormal.bg = t.bg
highlights.FzfLuaPreviewNormal.bg = t.bg
highlights.FzfLuaBorder = { link = "FloatBorder" }
highlights.FzfLuaTitle = { link = "FloatTitle" }
end

return highlights
end

Expand Down

0 comments on commit 1854b40

Please sign in to comment.