1
0
Fork 0
dotfiles/home/config/nvim/plugins/fzf.fnl

18 lines
847 B
Text
Raw Permalink Normal View History

2024-12-26 19:33:55 +00:00
(let [fzf (require :fzf-lua)]
(fzf.setup {:files {:cwd_prompt false :prompt "Files "}
:grep {:prompt "Grep "}
:grep_curbuf {:prompt "BGrep "}
:buffers {:prompt "Buffers "}
:treesitter {:prompt "Tree-sitter "}
:lsp {:prompt_postfix " "
:symbols {:prompt_postfix " "}
:code_actions {:prompt "CodeActions "}
:diagnostics {:prompt "Diagnostics "}
:keymaps {:prompt "Keymaps "}}
:winopts {:backdrop false}
:previewers {:builtin {:extensions {:gif :chafa
:jpg :chafa
:png :chafa}}}
:fzf_colors true})
(fzf.register_ui_select))