-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(extras): add fzf colors * chores: update formatting * Update lua/tokyonight/extra/fzf.lua Co-authored-by: 艦ahin Akkaya <sahin@sahinakkaya.dev> --------- Co-authored-by: 艦ahin Akkaya <sahin@sahinakkaya.dev>
- Loading branch information
1 parent
d03dcf3
commit 75c60d5
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
local util = require("tokyonight.util") | ||
|
||
local M = {} | ||
|
||
--- @param colors ColorScheme | ||
function M.generate(colors) | ||
return util.template(M.template, colors) | ||
end | ||
|
||
M.template = [[ | ||
export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS \ | ||
--color=fg:${fg},bg:${bg},hl:${orange} \ | ||
--color=fg+:${fg},bg+:${bg_highlight},hl+:${orange} \ | ||
--color=info:${blue},prompt:${cyan},pointer:${cyan} \ | ||
--color=marker:${green},spinner:${green},header:${green}" | ||
]] | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters