Merge remote-tracking branch 'upstream/main'

This commit is contained in:
2024-02-09 14:24:59 -05:00
35 changed files with 1395 additions and 546 deletions

18
lua/farout/extra/fzf.lua Normal file
View File

@@ -0,0 +1,18 @@
local util = require("farout.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