summaryrefslogtreecommitdiff
path: root/config/essentials/nvim/lua/user/set.lua
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-21 00:29:03 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-21 00:29:03 +0100
commit0b79c66a7265839500c9c29fce9b2f9662bfb277 (patch)
tree922b83ff764aa44305ef1c637ed63f08ecd2da3d /config/essentials/nvim/lua/user/set.lua
parente6b385e91a82645588af0fe2b3b9b4d74e6f4fdc (diff)
parent148f3bfed154e393b388bb17faa10e165f008dc8 (diff)
Merge remote-tracking branch 'refs/remotes/origin/main'
Diffstat (limited to 'config/essentials/nvim/lua/user/set.lua')
-rw-r--r--config/essentials/nvim/lua/user/set.lua43
1 files changed, 43 insertions, 0 deletions
diff --git a/config/essentials/nvim/lua/user/set.lua b/config/essentials/nvim/lua/user/set.lua
new file mode 100644
index 0000000..69ee4ae
--- /dev/null
+++ b/config/essentials/nvim/lua/user/set.lua
@@ -0,0 +1,43 @@
+local opt = vim.opt
+
+opt.clipboard = "unnamed"
+
+opt.termguicolors = true
+
+opt.number = true
+opt.relativenumber = true
+opt.showmatch = true
+opt.matchtime = 0
+opt.showcmd = true
+opt.cursorline = true
+opt.ruler = true
+
+opt.path:append("**")
+
+opt.wildmenu = true
+opt.incsearch = true
+opt.hlsearch = false
+
+opt.mouse = ""
+
+opt.tabstop = 4
+opt.shiftwidth = 4
+opt.backspace = "indent,eol,start"
+
+opt.signcolumn = "yes"
+opt.updatetime = 100
+opt.laststatus = 2
+opt.history = 200
+opt.encoding = "utf-8"
+
+opt.smartindent = true
+opt.scrolloff = 8
+
+opt.ignorecase = true
+opt.smartcase = true
+
+opt.swapfile = false
+opt.backup = false
+
+opt.spelllang = "en_us,nl"
+opt.formatoptions = "cqrnj"