From 9b6e8c56fe1169dead74949b66c1cf7ac20ad137 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 23 Sep 2023 22:13:00 +0200 Subject: Rename apply-opts to setup --- fnl/settings/options.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/settings/options.fnl') 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) -- cgit v1.2.3-70-g09d2