summaryrefslogtreecommitdiffstats
path: root/lua/options.lua
blob: 53fd399dc9c52ee617d97b750b743bc37b3643d7 (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
vim.opt.spelllang = {'de_de', 'en_us'}

vim.opt.timeoutlen = 500
vim.opt.updatetime = 200
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.showmode = false
vim.opt.smartindent = true
vim.opt.shiftwidth = 4
vim.opt.number = true
vim.opt.scrolloff = 20
vim.opt.numberwidth = 5
vim.diagnostic.config({
    virtual_text = {
	severity = vim.diagnostic.severity.ERROR,
    },
    underline = {
	severity = vim.diagnostic.severity.ERROR,
    },
})
vim.opt.termguicolors = true
vim.opt.guifont = {'Hack NFM:h12'}