aboutsummaryrefslogtreecommitdiff
path: root/lua/config/opts.lua
blob: 5f3cde144b0fa8e7fadb0e4928d2fd5c4cced148 (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
-- options
local o = vim.opt
o.expandtab = true
o.signcolumn = "yes"
o.nu = true
o.relativenumber = true
o.tabstop = 4
o.softtabstop = 4
o.shiftwidth = 2
o.expandtab = true
o.smartindent = true
o.wrap = false
o.swapfile = false
o.backup = false
o.undofile = true
o.undodir = vim.fn.stdpath("data") .. "/undodir"
o.hlsearch = false
o.incsearch = true
o.clipboard = "unnamedplus"
o.colorcolumn = "80"
o.pumheight = 15
o.updatetime = 50
o.scrolloff = 8

-- remove bg
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })