aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/options.lua
blob: 19e2b4c802fd718d15fb499ab28e86c750a71b29 (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
local opt = vim.opt

opt.smarttab = true
opt.exrc = true
opt.clipboard = "unnamedplus"
opt.termguicolors = true
opt.list = true
opt.autochdir = true
opt.wrap = false
opt.number = true
opt.relativenumber = true
opt.expandtab = true
opt.tabstop = 4
opt.smartindent = true
opt.shiftwidth = 4
opt.sidescroll = 5
opt.timeout = false
opt.scrolloff = 4
opt.sidescrolloff = 4
opt.sidescroll = 1
opt.cursorline = true
opt.mouse = ""
opt.ignorecase = true
opt.smartcase = true
opt.foldtext = ""
opt.foldlevel = 99
opt.foldcolumn = "auto:1"
vim.g.mapleader = " "
vim.g.maplocalleader = vim.g.mapleader

opt.listchars = { space = "⋅", tab = "--", precedes = "…", extends = "…" }
opt.fillchars = {
    -- foldopen = "-",
    -- foldclose = "+",
    fold = " ",
    foldsep = " ",
    diff = "╱",
    eob = " ",
}