[NeoVim] Small changes
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
(fn setup [module args]
|
||||
`((. (require ,module) :setup) ,args))
|
||||
|
||||
{: setup}
|
||||
(fn packer [config ...]
|
||||
"syntactic sugar over packer's startup function."
|
||||
(local packer `(require :packer))
|
||||
`((. ,packer :startup)
|
||||
{1 (lambda [(unquote (sym :use))]
|
||||
(use :wbthomason/packer.nvim)
|
||||
(do ,...)
|
||||
(if (= true _G.packer_bootstrap)
|
||||
((. ,packer :sync))))
|
||||
:config ,config}))
|
||||
|
||||
{: setup : packer}
|
||||
|
||||
Reference in New Issue
Block a user