2021-04-02 17:54:14 +00:00
|
|
|
{: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)) ,...))
|
|
|
|
|
|
|
|
:viml->fn
|
|
|
|
(fn [name]
|
2021-05-01 13:20:02 +00:00
|
|
|
`(.. "lua require('" *module-name* "')['" ,(tostring name) "']()"))
|
|
|
|
|
|
|
|
:dbg-call
|
|
|
|
(fn [x ...]
|
|
|
|
`(do
|
|
|
|
(a.println ,...)
|
2021-05-05 17:23:32 +00:00
|
|
|
(,x ,...)))
|
|
|
|
|
|
|
|
:pkg
|
|
|
|
(fn [name mappings ...]
|
|
|
|
`(if (~= nil (. packer_plugins ,name))
|
|
|
|
(let ,mappings ,...)
|
|
|
|
(print (.. "plugin disabled " ,name))))}
|
|
|
|
|
|
|
|
|
2021-05-01 13:20:02 +00:00
|
|
|
|