diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-10 23:41:57 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-10 23:41:57 +0200 |
commit | f5c7d68ca36f3ecd06b02da31283612bd7bc5f56 (patch) | |
tree | c6b9e69d8e5dac7900ddf034db2afd9d3dcf49e1 /fnl | |
parent | d76a6d97c50b7a4a9ffe9668ede7430a80facde6 (diff) |
fix(settings): remove opts as arg
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/settings/init.fnl | 6 | ||||
-rw-r--r-- | fnl/settings/options.fnl | 2 |
2 files changed, 3 insertions, 5 deletions
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) |