diff options
Diffstat (limited to 'fnl/settings/options.fnl')
-rw-r--r-- | fnl/settings/options.fnl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl index 1526856..02d6275 100644 --- a/fnl/settings/options.fnl +++ b/fnl/settings/options.fnl @@ -40,12 +40,12 @@ } ) -(defn- apply-opts [...] - (each [k v (pairs ...)] +(defn- apply-opts [] + (each [k v (pairs opts)] (tset vim.opt k v))) -(set vim.cmd "set whichwrap+=<,>,[,],h,l") -(set vim.cmd [[set iskeyword+=-]]) -(set vim.cmd [[set formatoptions-=cro]]) -(set nvim.ex.set "shortmess+=c") +(vim.cmd "set whichwrap+=<,>,[,],h,l") +(vim.cmd "set iskeyword+=-") +(vim.cmd "set formatoptions-=cro") +(nvim.ex.set "shortmess+=c") (apply-opts opts) |