From d50cc4ba5c6c34bd33ae4eacfbb0d11f9262e935 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 8 Apr 2022 00:14:33 +0200 Subject: fix(options): tset --- fnl/settings/options.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/settings/options.fnl') diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl index e492784..f011eb9 100644 --- a/fnl/settings/options.fnl +++ b/fnl/settings/options.fnl @@ -40,9 +40,9 @@ } ) -(defn- apply-opts [opts] - (each [k v (pairs opts)] - (vim.opt[k] v))) +(defn- apply-opts [...] + (each [k v (pairs ...)] + (tset vim.opt k v))) (set vim.cmd "set whichwrap+=<,>,[,],h,l") (set vim.cmd [[set iskeyword+=-]]) -- cgit v1.2.3-70-g09d2