summaryrefslogtreecommitdiff
path: root/config/essentials/nvim/lua/user/set.lua
blob: 69ee4ae9dc64294af67111f04827595775ab88ad (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
36
37
38
39
40
41
42
43
local opt = vim.opt

opt.clipboard = "unnamed"

opt.termguicolors = true

opt.number = true
opt.relativenumber = true
opt.showmatch = true
opt.matchtime = 0
opt.showcmd = true
opt.cursorline = true
opt.ruler = true

opt.path:append("**")

opt.wildmenu = true
opt.incsearch = true
opt.hlsearch = false

opt.mouse = ""

opt.tabstop = 4
opt.shiftwidth = 4
opt.backspace = "indent,eol,start"

opt.signcolumn = "yes"
opt.updatetime = 100
opt.laststatus = 2
opt.history = 200
opt.encoding = "utf-8"

opt.smartindent = true
opt.scrolloff = 8

opt.ignorecase = true
opt.smartcase = true

opt.swapfile = false
opt.backup = false

opt.spelllang = "en_us,nl"
opt.formatoptions = "cqrnj"