mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-02 23:19:41 +00:00
add(nvim): even more macros (require-then!)
This commit is contained in:
parent
2a71aa0d2b
commit
3bf9695311
14 changed files with 39 additions and 38 deletions
|
|
@ -1,5 +1,5 @@
|
|||
(import-macros {: map!} :hibiscus.vim)
|
||||
(local {: require-then} (require :helpers))
|
||||
(import-macros {: require-then!} :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)))
|
||||
(require-then! :gitsigns #($.setup config)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue