Use vim.opt instead of vim.o
This commit is contained in:
parent
4d40646a92
commit
fd1fe4866a
1 changed files with 18 additions and 18 deletions
|
|
@ -1,22 +1,22 @@
|
||||||
vim.o.number = true
|
vim.opt.number = true
|
||||||
vim.o.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
vim.o.cursorline = true
|
vim.opt.cursorline = true
|
||||||
vim.o.colorcolumn = "110"
|
vim.opt.colorcolumn = "110"
|
||||||
|
|
||||||
vim.o.tabstop = 4
|
vim.opt.tabstop = 4
|
||||||
vim.o.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
vim.o.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.o.smartindent = true
|
vim.opt.smartindent = true
|
||||||
|
|
||||||
vim.o.wrap = false
|
vim.opt.wrap = false
|
||||||
vim.o.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
vim.o.hlsearch = false
|
vim.opt.hlsearch = false
|
||||||
|
|
||||||
vim.o.swapfile = false
|
vim.opt.swapfile = false
|
||||||
vim.o.backup = false
|
vim.opt.backup = false
|
||||||
vim.o.undodir = os.getenv("HOME") .. "/.nvim/undodir"
|
vim.opt.undodir = os.getenv("HOME") .. "/.nvim/undodir"
|
||||||
vim.o.undofile = true
|
vim.opt.undofile = true
|
||||||
vim.o.updatetime = 2000
|
vim.opt.updatetime = 2000
|
||||||
|
|
||||||
vim.o.clipboard = "unnamedplus"
|
vim.opt.clipboard = "unnamedplus"
|
||||||
vim.o.spelllang= "en_gb,en_us"
|
vim.opt.spelllang = { "en_gb", "en_us" }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue