summaryrefslogtreecommitdiff
path: root/dot_config/nvim/plugin/options.lua
diff options
context:
space:
mode:
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]])