mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-03 07:29:41 +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,5 +1,5 @@
|
|||
(import-macros {: map!} :hibiscus.vim)
|
||||
(import-macros {: require-then!} :macros)
|
||||
(import-macros {: req-do!} :macros)
|
||||
|
||||
(let [config {:on_attach (fn [bufno]
|
||||
(let [gs package.loaded.gitsigns]
|
||||
|
|
@ -28,4 +28,4 @@
|
|||
(map! [n :buffer] :<leader>pd gs.toggle_deleted)
|
||||
;; Text object
|
||||
(map! [ox] :ih ":<C-U>Gitsigns select_hunk<CR>")))}]
|
||||
(require-then! :gitsigns #($.setup config)))
|
||||
(req-do! :gitsigns #($.setup config)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue