From 14cdc467680eb177f961a49570aa9cf98f60d72a Mon Sep 17 00:00:00 2001 From: "Vito G. Graffagnino" Date: Fri, 3 Jun 2022 17:14:35 +0100 Subject: Added the loop to set the options. This was missing from earlier commits. --- lua/user/options.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/user/options.lua') 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 -- cgit v1.2.3