From fd1fe4866a2dc2a6630136bf45149038a330c0e2 Mon Sep 17 00:00:00 2001 From: Wekuz Date: Sun, 5 Apr 2026 15:11:17 +0300 Subject: [PATCH] Use vim.opt instead of vim.o --- dot_config/nvim/lua/wekuz/executable_opts.lua | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/dot_config/nvim/lua/wekuz/executable_opts.lua b/dot_config/nvim/lua/wekuz/executable_opts.lua index f75f529..3ab42bd 100644 --- a/dot_config/nvim/lua/wekuz/executable_opts.lua +++ b/dot_config/nvim/lua/wekuz/executable_opts.lua @@ -1,22 +1,22 @@ -vim.o.number = true -vim.o.relativenumber = true -vim.o.cursorline = true -vim.o.colorcolumn = "110" +vim.opt.number = true +vim.opt.relativenumber = true +vim.opt.cursorline = true +vim.opt.colorcolumn = "110" -vim.o.tabstop = 4 -vim.o.shiftwidth = 4 -vim.o.expandtab = true -vim.o.smartindent = true +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true +vim.opt.smartindent = true -vim.o.wrap = false -vim.o.termguicolors = true -vim.o.hlsearch = false +vim.opt.wrap = false +vim.opt.termguicolors = true +vim.opt.hlsearch = false -vim.o.swapfile = false -vim.o.backup = false -vim.o.undodir = os.getenv("HOME") .. "/.nvim/undodir" -vim.o.undofile = true -vim.o.updatetime = 2000 +vim.opt.swapfile = false +vim.opt.backup = false +vim.opt.undodir = os.getenv("HOME") .. "/.nvim/undodir" +vim.opt.undofile = true +vim.opt.updatetime = 2000 -vim.o.clipboard = "unnamedplus" -vim.o.spelllang= "en_gb,en_us" +vim.opt.clipboard = "unnamedplus" +vim.opt.spelllang = { "en_gb", "en_us" }