summaryrefslogtreecommitdiff
path: root/lua/user/options.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-06-03 17:14:35 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-06-03 17:14:35 +0100
commit14cdc467680eb177f961a49570aa9cf98f60d72a (patch)
tree26c84a759ecf320456f0e253de48a8bb57413cba /lua/user/options.lua
parent12ce7a91fe9dab694d077ed2e3be422c89d445ac (diff)
Added the loop to set the options. This was missing from earlier
commits.
Diffstat (limited to 'lua/user/options.lua')
-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