summaryrefslogtreecommitdiff
path: root/lua/config/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/config/options.lua')
-rw-r--r--lua/config/options.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua
new file mode 100644
index 0000000..00ebeff
--- /dev/null
+++ b/lua/config/options.lua
@@ -0,0 +1,25 @@
+vim.g.mapleader = " "
+
+local opt = vim.opt
+
+opt.expandtab = true
+opt.tabstop = 2
+opt.shiftwidth = 0
+
+opt.nu = true
+opt.rnu = true
+opt.signcolumn = "yes"
+
+opt.splitright = true
+opt.splitbelow = true
+
+opt.showmode = false
+
+opt.winborder = "rounded"
+
+opt.virtualedit = "block"
+
+-- netrw config
+vim.g.netrw_banner = 0
+
+vim.diagnostic.config({ virtual_text = true })