From bd1051474212f6d7837be78d8edabe87f12ee707 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Mon, 22 Apr 2024 21:27:51 -0400 Subject: [PATCH] nvim: Fix tabbing --- nvim/.config/nvim/lua/config/options.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvim/.config/nvim/lua/config/options.lua b/nvim/.config/nvim/lua/config/options.lua index b74bd6c..5bfd026 100644 --- a/nvim/.config/nvim/lua/config/options.lua +++ b/nvim/.config/nvim/lua/config/options.lua @@ -4,3 +4,7 @@ vim.opt.relativenumber = false -- Autoformatting can break stuff; turn it off. vim.g.autoformat = false +-- sane (un-)tabbing unless overridden +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true