summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/settings/options.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index 3e0a569..430e4f4 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -1,6 +1,6 @@
;; Sets options in neovim
-(fn apply-opts [opts]
+(fn setup [opts]
(each [k v (pairs opts)]
(tset vim.opt k v)))
@@ -89,7 +89,7 @@
(vim.opt.whichwrap:append "<,>,[,],h,l")
(vim.opt.shortmess:append {:C true})
-(apply-opts opts)
+(setup opts)
(set vim.g.mapleader " ")
(set vim.g.maplocalleader " ")
(set vim.g.markdown_recommended_style 0)