summaryrefslogtreecommitdiff
path: root/dot_config/nvim.new/lua/ibrahim/options.lua
blob: 9e7252bc5f095733ed80025bfd0efb584fdd8108 (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
local opt = vim.opt

opt.incsearch = true

opt.number = true
opt.relativenumber = true

opt.scrolloff = 8

vim.o.foldtext = ""
opt.foldlevelstart = 1

opt.conceallevel = 2

opt.tabstop = 4
opt.softtabstop = 4
opt.shiftwidth = 0
opt.expandtab = true

opt.autoindent = true
opt.smartindent = true
opt.breakindent = true

opt.swapfile = false
opt.backup = false
opt.undodir = vim.fn.expand("~/.vim/undodir")
opt.undofile = true

opt.ignorecase = true
opt.smartcase = true

opt.updatetime = 250

vim.o.background = "dark"
vim.cmd([[colorscheme rose-pine]])