add(nvim): even more macros (require-then!)

This commit is contained in:
Léana 江 2024-01-28 13:16:16 +01:00 committed by Léana 江
parent 2a71aa0d2b
commit 3bf9695311
14 changed files with 39 additions and 38 deletions

View file

@ -1,4 +1,4 @@
(local {: require-then} (require :helpers))
(import-macros {: require-then!} :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)))
(require-then! :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)))
(require-then! :treesitter-context #($.setup config)))