From 588521401a2a8b2f81cee4c2994c1e1215de6970 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 3 Apr 2022 21:23:20 +0200 Subject: fix(settings): update --- fnl/settings/init.fnl | 7 +++---- fnl/settings/options.fnl | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'fnl') 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) -- cgit v1.2.3-70-g09d2