From 86fc163e549d78136855ac2b45e91ffb2f43affc Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 8 Jan 2023 02:49:49 +0100 Subject: Refactor config loading --- fnl/config/better-escape.fnl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'fnl/config/better-escape.fnl') diff --git a/fnl/config/better-escape.fnl b/fnl/config/better-escape.fnl index 659d22f..f262784 100644 --- a/fnl/config/better-escape.fnl +++ b/fnl/config/better-escape.fnl @@ -1,9 +1,8 @@ ;; Better escape without nasty delay. -(module config.better-escape {autoload {util config.util}}) -(def- opts {:mapping [:kk :jj] - :timeout vim.o.timeoutlen - :clear_empty_lines false - :keys :}) +(local opts {:mapping [:kk :jj] + :timeout vim.o.timeoutlen + :clear_empty_lines false + :keys :}) -(util.setup :better_escape opts) +{1 :max397574/better-escape.nvim :event :BufReadPost :config opts} -- cgit v1.2.3-70-g09d2