diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/user/options.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/user/options.lua b/lua/user/options.lua index cf23784..38f6efd 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -20,7 +20,8 @@ local options = { timeoutlen = 1000, -- time to wait for a mapped sequence to complete (in milliseconds) undofile = true, -- enable persistent undo updatetime = 300, -- faster completion (4000ms default) - writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited + writebackup = false, -- if a file is being edited by another program (or was written to + -- file while editing with another program), it is not allowed to be edited expandtab = true, -- convert tabs to spaces shiftwidth = 2, -- the number of spaces inserted for each indentation tabstop = 2, -- insert 2 spaces for a tab @@ -37,10 +38,6 @@ 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 |
