aboutsummaryrefslogtreecommitdiff
path: root/lua/user/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/options.lua')
-rw-r--r--lua/user/options.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/user/options.lua b/lua/user/options.lua
new file mode 100644
index 0000000..293aa31
--- /dev/null
+++ b/lua/user/options.lua
@@ -0,0 +1,19 @@
+local options = {
+ completeopt = { "menuone", "noselect" },
+ tabstop = 4,
+ shiftwidth = 2,
+ scrolloff = 5,
+ number = true,
+ relativenumber = true,
+ wrap = false,
+ cursorline = true,
+ numberwidth = 4,
+ undofile = true,
+}
+
+
+for k, v in pairs(options) do
+ vim.opt[k] = v
+end
+
+vim.cmd [[set matchpairs+=<:>]]