From f5c7d68ca36f3ecd06b02da31283612bd7bc5f56 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 10 Apr 2022 23:41:57 +0200 Subject: fix(settings): remove opts as arg --- fnl/settings/init.fnl | 6 ++---- fnl/settings/options.fnl | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'fnl/settings') diff --git a/fnl/settings/init.fnl b/fnl/settings/init.fnl index 77e2caa..5c21629 100644 --- a/fnl/settings/init.fnl +++ b/fnl/settings/init.fnl @@ -1,6 +1,4 @@ ;; Load nvim settings (module settings - {require { - _ settings.options - _ settings.keymaps - }}) + {require {_ settings.options + _ settings.keymaps}}) diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl index 02d6275..4e560ce 100644 --- a/fnl/settings/options.fnl +++ b/fnl/settings/options.fnl @@ -44,8 +44,8 @@ (each [k v (pairs opts)] (tset vim.opt k v))) +(apply-opts) (vim.cmd "set whichwrap+=<,>,[,],h,l") (vim.cmd "set iskeyword+=-") (vim.cmd "set formatoptions-=cro") (nvim.ex.set "shortmess+=c") -(apply-opts opts) -- cgit v1.2.3-70-g09d2