summaryrefslogtreecommitdiff
path: root/nvim/lua/options.lua
blob: b5550690756a4a70b6d0bfe311343028d545f86c (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
vim.opt.nu = true
vim.opt.relativenumber = true

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

vim.opt.smartindent = true

vim.opt.wrap = false

vim.opt.hlsearch = false
vim.opt.incsearch = true

vim.opt.scrolloff = 8
vim.opt.signcolumn = "no"
vim.opt.cursorline = true
vim.opt.cursorlineopt = "number"
vim.opt.isfname:append("@-@")

vim.cmd "set undofile"

vim.g.mapleader = ' '

vim.opt.guifont = "FiraCode:h10"