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,5 @@
(local {: require-then : fst} (require :helpers))
(import-macros {: require-then!} :macros)
(local {: fst} (require :helpers))
(fn diagnostic-message []
(let [{: row} (vim.api.nvim_win_get_cursor 0)
@ -48,4 +49,4 @@
: sections
:tabline {}
:winbar {}}]
(require-then :lualine #($.setup config)))
(require-then! :lualine #($.setup config)))