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

17 lines
847 B
Fennel
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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))