summaryrefslogtreecommitdiff
path: root/fnl/config/better-escape.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
commit71d538630b226da37e4ef21c5a84d6fad5f55421 (patch)
tree5f87a9c1194a556d12ffca79ea98a08d76af548e /fnl/config/better-escape.fnl
parentfa9a5c6b80b5b0ffdcddc4b1d1c6cfe887d0bb04 (diff)
fix(load plugin): correct loading err
Diffstat (limited to 'fnl/config/better-escape.fnl')
-rw-r--r--fnl/config/better-escape.fnl13
1 files changed, 6 insertions, 7 deletions
diff --git a/fnl/config/better-escape.fnl b/fnl/config/better-escape.fnl
index 83b4d07..5c993b7 100644
--- a/fnl/config/better-escape.fnl
+++ b/fnl/config/better-escape.fnl
@@ -3,10 +3,9 @@
{autoload {util util}})
-(let [(ok? better-escape) util.load-plugin :better-escape]
- (when ok?
- (better-escape.setup {
- :mapping ["jk" "jj"]
- :timeout vim.o.timeoutlen
- :clear_empty_lines false
- :keys "<Esc>"}})))
+(let [better-escape (util.load-plugin :better-escape)]
+ (better-escape.setup {
+ :mapping ["jk" "jj"]
+ :timeout vim.o.timeoutlen
+ :clear_empty_lines false
+ :keys "<Esc>"}}))