mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nvim): shorter macro name (require-then! -> req-do!)
This commit is contained in:
parent
2cb483e188
commit
61692f7fde
14 changed files with 49 additions and 50 deletions
|
|
@ -1,4 +1,4 @@
|
|||
(import-macros {: require-then!} :macros)
|
||||
(import-macros {: req-do!} :macros)
|
||||
|
||||
(let [lazypath (.. (vim.fn.stdpath :data) :/lazy/lazy.nvim)]
|
||||
(when (not (vim.loop.fs_stat lazypath))
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
{1 :numToStr/Comment.nvim :opts {}}
|
||||
{1 :ggandor/leap.nvim
|
||||
:dependencies :tpope/vim-repeat
|
||||
:config #(require-then! :leap #($.add_default_mappings))}
|
||||
:config #(req-do! :leap #($.add_default_mappings))}
|
||||
{1 :kevinhwang91/nvim-ufo
|
||||
:dependencies :kevinhwang91/promise-async}
|
||||
{1 :wintermute-cell/gitignore.nvim
|
||||
|
|
@ -110,4 +110,4 @@
|
|||
:f3fora/cmp-spell
|
||||
:mrcjkb/haskell-snippets.nvim]}]
|
||||
opts {:performance {:rtp {:reset false}}}]
|
||||
(require-then! :lazy #($.setup plugins opts)))
|
||||
(req-do! :lazy #($.setup plugins opts)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue