macros.fnl
Branches > main > 5e80be6 > files / nvim / pack / plugins / opt / conjure / fnl / conjure / macros.fnl
;; [nfnl-macro]
;; TODO Deprecated, we should remove this, just use the vim.* API.
{:augroup
(fn [name ...]
`(do
(nvim.ex.augroup ,(tostring name))
(nvim.ex.autocmd_)
,...
(nvim.ex.augroup :END)))
:autocmd
(fn [...]
`(nvim.ex.autocmd ,...))
:_:
(fn [name ...]
`((. nvim.ex ,(tostring name)) ,...))}