diff --git a/.config/nvim/fnl/macros.fnl b/.config/nvim/fnl/macros.fnl index c84c7ed..f31a27e 100644 --- a/.config/nvim/fnl/macros.fnl +++ b/.config/nvim/fnl/macros.fnl @@ -236,11 +236,12 @@ "syntactic sugar over packer's startup function." (local packer `(require :packer)) `((. ,packer :startup) - (lambda [(unquote (sym :use))] - (use :wbthomason/packer.nvim) - (do ,...) - (if (. _G :packer.nvim_bootstrap) - ((. ,packer :sync)))))) + {1 (lambda [(unquote (sym :use))] + (use :wbthomason/packer.nvim) + (do ,...) + (if (. _G :packer.nvim_bootstrap) + ((. ,packer :sync)))) + :config {:autoremove true}})) (lambda create-func [val])