about summary refs log tree commit diff
path: root/fnl/nvrc/utils.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/utils.fnl')
-rw-r--r--fnl/nvrc/utils.fnl9
1 files changed, 1 insertions, 8 deletions
diff --git a/fnl/nvrc/utils.fnl b/fnl/nvrc/utils.fnl
index 6fd315a..a033009 100644
--- a/fnl/nvrc/utils.fnl
+++ b/fnl/nvrc/utils.fnl
@@ -46,11 +46,4 @@
     (local is-terminal (= (vim.fn.getbufvar cur-bufnr :&buftype) :terminal))
     (vim.cmd (or (and is-terminal "bd! #") "silent! confirm bd #"))))
 
-(fn defer_unpack [pack after]
-  (when pack
-    (set-forcibly! after (or after 0))
-    (vim.defer_fn (fn []
-                    ((. (require :packer) :loader) pack))
-                  after)))
-
-{: merge : del_buf : defer_unpack}
+{: merge : del_buf}