summaryrefslogtreecommitdiff
path: root/dot_config/nvim/plugin/options.lua
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2024-10-03 17:54:22 -0500
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commit7876fabd7c5c625194ee723972e63105eca4b505 (patch)
tree8a60254fdba136242a10954bc0429747e509a46c /dot_config/nvim/plugin/options.lua
parent25845fce1beb28e783e7f9495a0fadf19e26bee6 (diff)
feat(nvim): neovim config rewrite
Diffstat (limited to 'dot_config/nvim/plugin/options.lua')
-rw-r--r--dot_config/nvim/plugin/options.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/dot_config/nvim/plugin/options.lua b/dot_config/nvim/plugin/options.lua
new file mode 100644
index 0000000..044f24f
--- /dev/null
+++ b/dot_config/nvim/plugin/options.lua
@@ -0,0 +1,35 @@
+local opt = vim.opt
+
+opt.incsearch = true
+
+opt.number = true
+opt.relativenumber = true
+
+opt.scrolloff = 8
+
+vim.o.foldtext = ""
+opt.foldlevelstart = 1
+
+opt.conceallevel = 2
+
+opt.tabstop = 4
+opt.softtabstop = 4
+opt.shiftwidth = 0
+opt.expandtab = true
+
+opt.autoindent = true
+opt.smartindent = true
+opt.breakindent = true
+
+opt.swapfile = false
+opt.backup = false
+opt.undodir = vim.fn.expand("~/.vim/undodir")
+opt.undofile = true
+
+opt.ignorecase = true
+opt.smartcase = true
+
+opt.updatetime = 250
+
+vim.o.background = "dark"
+vim.cmd([[colorscheme gruvbox]])