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)
(local map vim.keymap.set)
(local ts (require :telescope))
@ -20,7 +20,7 @@
:--glob
:!**/.git/*]}}})
(pcall (require-then! :telescope #$.load_extension) :fzf)
(pcall (req-do! :telescope #$.load_extension) :fzf)
(map :n :<leader>/
#(builtin.current_buffer_fuzzy_find (themes.get_dropdown {:previewer false})))