diff options
Diffstat (limited to 'lua/config/options.lua')
| -rw-r--r-- | lua/config/options.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua new file mode 100644 index 0000000..4ee9505 --- /dev/null +++ b/lua/config/options.lua @@ -0,0 +1,35 @@ +return { + { + dir = '', + name = 'options', + lazy = false, + init = function() + vim.opt.spelllang = { 'de_de', 'en_us' } + + vim.opt.timeoutlen = 500 + vim.opt.updatetime = 250 + vim.opt.mouse = a + vim.opt.signcolumn = 'yes' + vim.opt.cursorline = true + vim.opt.wrap = false + vim.opt.splitbelow = true + vim.opt.splitright = true + vim.opt.undofile = true + vim.opt.undodir = { vim.fn.stdpath('data') .. '/undo' } + vim.opt.undolevels = 1000 + + vim.opt.fillchars = 'eob: ' + + vim.opt.showmode = false + vim.opt.smartindent = true + vim.opt.shiftwidth = 4 + vim.opt.tabstop = 4 + vim.opt.softtabstop = 4 + vim.opt.number = true + vim.opt.scrolloff = 20 + vim.opt.numberwidth = 5 + vim.opt.termguicolors = true + vim.opt.guifont = { 'Hack NFM:h12' } + end, + }, +} |
