ref(nvim): shorter macro name (require-then! -> req-do!)

This commit is contained in:
Léana 江 2024-01-28 14:05:27 +01:00 committed by Léana 江
parent 2cb483e188
commit 61692f7fde
14 changed files with 49 additions and 50 deletions

View file

@ -1,4 +1,4 @@
(import-macros {: require-then!} :macros)
(import-macros {: req-do!} :macros)
(let [config {:auto_install true
:disable (fn [lang buf]
@ -23,7 +23,7 @@
:swap {:enable true
:swap_next {:<leader>a "@parameter.inner"}
:swap_previous {:<leader>A "@parameter.inner"}}}}]
(require-then! :nvim-treesitter.configs #($.setup config)))
(req-do! :nvim-treesitter.configs #($.setup config)))
(let [config {:enable true
:line_numbers true
@ -33,4 +33,4 @@
:multiline_threshold 20
:trim_scope :outer
:zindex 20}]
(require-then! :treesitter-context #($.setup config)))
(req-do! :treesitter-context #($.setup config)))