[nvim] packer: set autoremove

This commit is contained in:
odrling 2022-08-30 16:52:20 +02:00
parent 6243eacaaf
commit 2d5b9b2b0d
No known key found for this signature in database
GPG key ID: A0145F975F9F8B75

View file

@ -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])