summaryrefslogtreecommitdiff
path: root/fnl/settings
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/settings')
-rw-r--r--fnl/settings/init.fnl6
-rw-r--r--fnl/settings/options.fnl2
2 files changed, 3 insertions, 5 deletions
diff --git a/fnl/settings/init.fnl b/fnl/settings/init.fnl
index 77e2caa..5c21629 100644
--- a/fnl/settings/init.fnl
+++ b/fnl/settings/init.fnl
@@ -1,6 +1,4 @@
;; Load nvim settings
(module settings
- {require {
- _ settings.options
- _ settings.keymaps
- }})
+ {require {_ settings.options
+ _ settings.keymaps}})
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index 02d6275..4e560ce 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -44,8 +44,8 @@
(each [k v (pairs opts)]
(tset vim.opt k v)))
+(apply-opts)
(vim.cmd "set whichwrap+=<,>,[,],h,l")
(vim.cmd "set iskeyword+=-")
(vim.cmd "set formatoptions-=cro")
(nvim.ex.set "shortmess+=c")
-(apply-opts opts)