summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/user/options.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/options.lua b/lua/user/options.lua
index 38f6efd..52e63ab 100644
--- a/lua/user/options.lua
+++ b/lua/user/options.lua
@@ -38,6 +38,10 @@ local options = {
vim.opt.shortmess:append "c"
+for k, v in pairs(options) do
+ vim.opt[k] = v
+end
+
vim.cmd "set whichwrap+=<,>,[,],h,l"
vim.cmd [[set iskeyword+=-]]
vim.cmd [[set formatoptions-=cro]] -- TODO: this doesn't seem to work