diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-23 22:13:00 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-23 22:13:00 +0200 |
commit | 9b6e8c56fe1169dead74949b66c1cf7ac20ad137 (patch) | |
tree | 07cd11116fb32ea6df3c1ef3ebe9e486a80d485a /fnl | |
parent | caf55dcabc2f4bce8f517a03ae56535920c7c4ce (diff) |
Rename apply-opts to setup
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/settings/options.fnl | 4 |
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) |