blob: 6a4d234879f8aad1588013edee21783aa31d8c97 (
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
|
vim.opt.tabstop = 4
vim.opt.shiftwidth = 0
vim.opt.expandtab = false
vim.opt.shortmess:append { s = true, I = true }
vim.g.mapleader = ' '
vim.g.maplocalleader = '\\'
vim.opt.signcolumn="number"
vim.opt.number=true
vim.opt.fillchars:append({ eob = " " })
vim.opt.scrolloff = 7
vim.opt.splitright = true
vim.opt.cursorline = true
vim.diagnostic.config({
virtual_text = true,
})
-- undo
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir"
vim.opt.undofile = true
|