diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-08 02:49:49 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-08 02:49:49 +0100 |
commit | 86fc163e549d78136855ac2b45e91ffb2f43affc (patch) | |
tree | 20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/better-escape.fnl | |
parent | 0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff) |
Refactor config loading
Diffstat (limited to 'fnl/config/better-escape.fnl')
-rw-r--r-- | fnl/config/better-escape.fnl | 11 |
1 files changed, 5 insertions, 6 deletions
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 :<Esc>}) +(local opts {:mapping [:kk :jj] + :timeout vim.o.timeoutlen + :clear_empty_lines false + :keys :<Esc>}) -(util.setup :better_escape opts) +{1 :max397574/better-escape.nvim :event :BufReadPost :config opts} |