summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-30 18:21:02 +0200
committeraktersnurra <grydholm@kth.se>2022-04-30 18:21:02 +0200
commit0f7ca4229a3e776800e2e7ab87d3c6a1c84adf56 (patch)
treef046c5ff9ad77768a40ede7f02c7e586963a3e10
parentf8682528f6d071136b307e795338dae53e9cdf1d (diff)
refactor(options): use nvim set api
-rw-r--r--fnl/settings/options.fnl10
1 files changed, 5 insertions, 5 deletions
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index bf02dda..acb643d 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -80,8 +80,8 @@
(apply-opts opts)
-(vim.cmd "set whichwrap+=<,>,[,],h,l")
-(vim.cmd "set iskeyword+=-")
-(vim.cmd "set formatoptions-=cro")
-(vim.cmd "set colorcolumn=80")
-(nvim.ex.set :shortmess+=c)
+(nvim.ex.set "whichwrap+=<,>,[,],h,l")
+(nvim.ex.set "iskeyword+=-")
+(nvim.ex.set "formatoptions-=cro")
+(nvim.ex.set "colorcolumn=80")
+(nvim.ex.set "shortmess+=c")