This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.lua
62 lines (62 loc) · 1.56 KB
/
options.lua
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
return {
opt = {
so = 7, -- 7 lines to the cursor when moving with j/k
hid = true, -- hide abandoned buffers
ruler = true,
cmdheight = 0,
mouse = "",
history = 500,
updatetime = 250,
writebackup = false,
smartindent = true,
relativenumber = true,
-- line break on 500 chars
lbr = true,
tw = 500,
ai = true, -- auto indentation
si = true, -- smart indentation
wrap = true, -- wrap lines
expandtab = true,
smarttab = true,
tabstop = 4,
softtabstop = 4,
shiftwidth = 4,
magic = true, -- magic on for regex
showmatch = true, -- show matching brackets
mat = 2, -- blink for 2 thenth of a second for brackets matching
-- Search
ignorecase = true,
smartcase = true,
hlsearch = true,
incsearch = true,
-- Performance
lazyredraw = false, -- disabled due to noice.nvim
-- Folding
foldlevelstart = 10,
foldnestmax = 5,
foldminlines = 1,
fillchars = "eob: ",
-- No backup
backup = false,
wb = false,
swapfile = false,
-- Files
encoding = "utf8",
ffs = "unix,dos,mac",
-- NOTE: More configs related to files appear in the init.vim file
-- UI
background = "dark",
},
g = {
autoformat_enabled = false,
auto_switch_bg = false,
copilot_enabled = true,
loaded_python3_provider = false,
loaded_ruby_provider = false,
loaded_node_provider = false,
loaded_perl_provider = false,
mapleader = ",",
maplocalleader = ";",
resession_enabled = true, -- used to scope sessions to tabs
},
}