Clean up plugin.fnl

This commit is contained in:
Alexander Rosenberg 2022-12-01 22:09:40 -08:00
parent 8ab9d2074a
commit 9b12ee74ba
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -56,8 +56,7 @@
;; fzf (a fuzzy finder) ;; fzf (a fuzzy finder)
(use! :ibhagwan/fzf-lua (use! :ibhagwan/fzf-lua
:config (fn [] :config #(let [fzf (require :fzf-lua)]
(let [fzf (require :fzf-lua)]
(fzf.register_ui_select) (fzf.register_ui_select)
(bind! :n :<leader>fq fzf.quickfix) (bind! :n :<leader>fq fzf.quickfix)
(bind! :n :<leader>fr fzf.registers) (bind! :n :<leader>fr fzf.registers)
@ -81,7 +80,7 @@
(let [code (os.execute "git rev-parse --is-inside-work-tree >/dev/null 2>&1")] (let [code (os.execute "git rev-parse --is-inside-work-tree >/dev/null 2>&1")]
(if (= code 0) (if (= code 0)
(fzf.git_files) (fzf.git_files)
(fzf.files)))))))) (fzf.files)))))))
;; Nvim surround ;; Nvim surround
(use! :kylechui/nvim-surround (use! :kylechui/nvim-surround