34 lines
594 B
Lua
34 lines
594 B
Lua
local opt = vim.opt
|
|
|
|
opt.expandtab = true
|
|
opt.smarttab = true
|
|
opt.shiftwidth = 4
|
|
opt.tabstop = 4
|
|
|
|
opt.hlsearch = true
|
|
opt.incsearch = true
|
|
opt.ignorecase = true
|
|
opt.smartcase = true
|
|
|
|
opt.splitbelow = true
|
|
opt.splitright = true
|
|
opt.wrap = false
|
|
opt.scrolloff = 5
|
|
opt.fileencoding = 'utf-8'
|
|
opt.termguicolors = true
|
|
|
|
opt.relativenumber = true
|
|
opt.cursorline = true
|
|
opt.number = true
|
|
|
|
opt.spelllang = { 'en_us' }
|
|
opt.background = 'light'
|
|
|
|
opt.updatetime = 50
|
|
|
|
border_style = 'rounded'
|
|
|
|
vim.cmd('set showtabline=2')
|
|
vim.cmd('colorscheme gruvbox')
|
|
vim.cmd('hi SpellBad gui=undercurl guifg=#cc241c')
|