From 3c0a33d0a27ec417cafeac97a4a0f8a345141ae0 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Wed, 23 Jul 2025 14:29:49 -0400 Subject: [PATCH] save --- nvim/.config/nvim/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 0a18d04..1d3c6a9 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -50,9 +50,9 @@ opt.number = true -- Show opt.relativenumber = true -- Show relative line numbers opt.splitbelow = true -- New horizontal splits open below opt.splitright = true -- New vertical splits open to the right -opt.shiftwidth = 8 -- Spaces for auto-indent -opt.tabstop = 8 -- Spaces for a tab character -opt.expandtab = false -- Use spaces instead of tabs +opt.shiftwidth = 2 -- Spaces for auto-indent +opt.tabstop = 2 -- Spaces for a tab character +opt.expandtab = true -- Use spaces instead of tabs opt.scrolloff = 8 -- Lines to keep above/below cursor vim.cmd('autocmd BufEnter * set formatoptions-=cro') -- Disable auto-commenting on new lines vim.cmd('autocmd BufEnter * setlocal formatoptions-=cro') -- Disable auto-commenting for local buffers