From 4fea989416a1cea8337535cfd8fe3bdbc7b9e670 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 22 Jul 2024 01:36:00 +0200 Subject: [PATCH] Make tabs behave --- lua/options.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/options.lua b/lua/options.lua index c97d75f..7b22c9a 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -59,4 +59,11 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 +-- Make tabs behave +vim.opt.smarttab = true +vim.opt.expandtab = true +vim.opt.tabstop = 2 +vim.opt.shiftwidth = 2 +vim.opt.softtabstop = 2 + -- vim: ts=2 sts=2 sw=2 et