-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fzf): add template for fzf extra
- Loading branch information
1 parent
89f65b7
commit f1a86cf
Showing
3 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
local util = require("kanagawa-paper.lib.util") | ||
|
||
local M = {} | ||
|
||
--- @param colors ThemeColors | ||
function M.generate(colors) | ||
local fzf = util.template( | ||
[[ | ||
# ----------------------------------------------------------------------------- | ||
# ${_style_name} | ||
# Upstream: ${_upstream_url} | ||
# URL: ${_url} | ||
# Note: You can either export the following as an environment variable (export FZF_DEFAULT_OPTS='...') or | ||
# add the following to an opts file and point FZF_DEFAULT_OPTS_FILE to it. | ||
# See the URL above for more information. | ||
# ----------------------------------------------------------------------------- | ||
--color=bg:-1,bg+:${ui.bg_cursorline},fg:-1,fg+:${ui.fg},hl:${ui.bg_search},hl+:${syn.symbol} | ||
--color=header:${ui.header2},info:${diag.info},pointer:${ui.mark} | ||
--color=marker:${ui.mark},prompt:${ui.picker},spinner:${ui.special} | ||
]], | ||
colors | ||
) | ||
return fzf | ||
end | ||
|
||
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