summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-03 21:23:20 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-03 21:23:20 +0200
commit588521401a2a8b2f81cee4c2994c1e1215de6970 (patch)
tree43ed01324b75424633ccd9f5bf635964a142d2bb
parent4a84ab7258c1352127afa2d85b8a03c29f269f48 (diff)
fix(settings): update
-rw-r--r--fnl/settings/init.fnl7
-rw-r--r--fnl/settings/options.fnl3
2 files changed, 4 insertions, 6 deletions
diff --git a/fnl/settings/init.fnl b/fnl/settings/init.fnl
index 0045fc2..5c21629 100644
--- a/fnl/settings/init.fnl
+++ b/fnl/settings/init.fnl
@@ -1,5 +1,4 @@
;; Load nvim settings
-(module settings)
-
-(require :settings.options)
-(require :settings.keymaps)
+(module settings
+ {require {_ settings.options
+ _ settings.keymaps}})
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index 9cf42e5..112dc2b 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -42,11 +42,10 @@
(defn- apply-opts [opts]
(each [k v (pairs opts)]
- (set vim.opt[k] v)))
+ (set vim.opt[k] v)))
(set vim.cmd "set whichwrap+=<,>,[,],h,l")
(set vim.cmd [[set iskeyword+=-]])
(set vim.cmd [[set formatoptions-=cro]])
(nvim.ex.set "shortmess+=c")
-(nvim.ex.set :spell)
(apply-opts)