summaryrefslogtreecommitdiffstats
path: root/lua/config/options.lua
blob: 4ee95054ba94189b4463338ef4fe514b9c165429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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,
	},
}