blob: ab65cd5236b4dd38f215dce84eba10800900a1d1 (
plain) (
blame)
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
|
local opt = vim.opt
-- tabs
opt.tabstop = 4
opt.softtabstop = 4
opt.shiftwidth = 4
opt.expandtab = true
opt.smartindent = true
-- search
opt.showmatch = true
opt.ignorecase = true
opt.smartcase = true
opt.swapfile = false -- noswapfile
opt.undofile = true -- persistent undo
vim.cmd("syntax on")
opt.termguicolors = true
opt.number = true
opt.relativenumber = true
opt.numberwidth = 2
opt.cursorline = true
opt.splitright = true
opt.splitbelow = true
|