summaryrefslogtreecommitdiff
path: root/fnl/settings/options.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-08 00:14:33 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-08 00:14:33 +0200
commitd50cc4ba5c6c34bd33ae4eacfbb0d11f9262e935 (patch)
tree1ef1f3f56fd90a39b5752eaa8f712515c9487838 /fnl/settings/options.fnl
parent272a51a0c72c195044e93dc220be4500c03d32c2 (diff)
fix(options): tset
Diffstat (limited to 'fnl/settings/options.fnl')
-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+=-]])