From e5925c7f3f5706dab6f1ef00cea60200d749702e Mon Sep 17 00:00:00 2001 From: Aland Azad Date: Sat, 30 Nov 2024 15:47:31 +0300 Subject: [PATCH] Modified init.lua --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index 08717d53..bb66638c 100644 --- a/init.lua +++ b/init.lua @@ -121,6 +121,11 @@ end) -- Enable break indent vim.opt.breakindent = true +-- Set tab width and indentation for Neovim +vim.opt.shiftwidth = 4 -- Indent with 4 spaces +vim.opt.tabstop = 4 -- Tab key inserts 4 spaces +vim.opt.expandtab = true -- Converts tabs to spaces + -- Save undo history vim.opt.undofile = true