summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/settings/options.fnl6
1 files changed, 3 insertions, 3 deletions
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+=-]])