aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/set.lua
blob: 8ffacd6fd28b58722691bcc49c41cb9c8cfdbcdd (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
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
vim.opt.scrolloff = 4
vim.opt.signcolumn = "yes"

vim.opt.encoding = "utf8"
vim.opt.fileencoding = "utf8"
vim.opt.syntax = "ON"
vim.opt.termguicolors = true

vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.incsearch = true

local tabwidth = 2
vim.opt.expandtab = true
vim.opt.shiftwidth = tabwidth
vim.opt.softtabstop = tabwidth
vim.opt.tabstop = tabwidth

vim.opt.splitright = true
vim.opt.splitbelow = true
vim.opt.cc = "80"

vim.opt.mouse = ""

vim.cmd("highlight Normal guibg=none")