From 9e69e3554ee1dd56f055423de09a0a575fbe73b0 Mon Sep 17 00:00:00 2001 From: Marek Muzyka Date: Fri, 14 Nov 2025 19:26:59 +0100 Subject: Basic config --- lua/config/options.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lua/config/options.lua (limited to 'lua/config/options.lua') 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 }) -- cgit v1.2.3