28 lines
475 B
Lua
28 lines
475 B
Lua
local o = vim.opt
|
|
|
|
-- Indentation
|
|
o.smartindent = true
|
|
o.tabstop = 4
|
|
o.shiftwidth = 4
|
|
o.expandtab = true
|
|
o.backspace = "indent,eol,start"
|
|
|
|
-- Numbers
|
|
o.number = true
|
|
o.relativenumber = true
|
|
|
|
-- Theme
|
|
--require('onedark').setup()
|
|
--vim.cmd("colorscheme one-nvim")
|
|
vim.opt.termguicolors = true
|
|
vim.api.nvim_command 'colorscheme one-nvim'
|
|
|
|
-- Misc
|
|
o.mouse = 'a'
|
|
o.linebreak = true
|
|
o.backup = false
|
|
o.swapfile = false
|
|
o.showmode = true
|
|
o.termguicolors = true
|
|
o.updatetime = 1000
|