feat(extras): add fzf colors (#464)
* 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>
This commit is contained in:
parent
d03dcf3fd0
commit
75c60d5694
18
lua/tokyonight/extra/fzf.lua
Normal file
18
lua/tokyonight/extra/fzf.lua
Normal file
@ -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
|
@ -25,6 +25,7 @@ M.extras = {
|
|||||||
dunst = {ext = "dunstrc", url = "https://dunst-project.org/", label = "Dunst"},
|
dunst = {ext = "dunstrc", url = "https://dunst-project.org/", label = "Dunst"},
|
||||||
gitui = {ext = "ron", url = "https://github.com/extrawurst/gitui", label = "GitUI"},
|
gitui = {ext = "ron", url = "https://github.com/extrawurst/gitui", label = "GitUI"},
|
||||||
helix = { ext = "toml", url = "https://helix-editor.com/", label = "Helix"},
|
helix = { ext = "toml", url = "https://helix-editor.com/", label = "Helix"},
|
||||||
|
fzf = { ext = "zsh", url = "https://github.com/junegunn/fzf", label = "Fzf"},
|
||||||
}
|
}
|
||||||
|
|
||||||
local function write(str, fileName)
|
local function write(str, fileName)
|
||||||
|
Loading…
Reference in New Issue
Block a user