diff options
-rw-r--r-- | fnl/settings/init.fnl | 7 | ||||
-rw-r--r-- | fnl/settings/options.fnl | 3 |
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) |