Clean up plugin.fnl
This commit is contained in:
parent
8ab9d2074a
commit
9b12ee74ba
@ -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
|
||||||
|
Reference in New Issue
Block a user