From eeebb9dac0409193f75f0e9ef2a2e748553f2e42 Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 8 Feb 2024 21:51:15 -0600 Subject: nvim: Expand tabs to spaces We're switching back to the objectively correct method of using spaces instead of tabs. --- nvim/init.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index 59332e9..1f877ed 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -51,12 +51,12 @@ set hlsearch " Highlight all search results set smartcase " Enable smart-case search set incsearch " Searches for strings incrementally -set noexpandtab " Use spaces instead of tabs -set shiftwidth=4 " Number of auto-indent spaces -set smartindent " Enable smart-indent -set nosmarttab " Enable smart-tabs -"set softtabstop=2 " Number of spaces per Tab -set tabstop=4 +set autoindent " Enable auto-indent +"set smartindent " Enable smart-indent +"set nosmarttab " Enable smart-tabs +set expandtab " Use spaces instead of tabs +set tabstop=2 " Number of spaces per tab +set shiftwidth=2 " Number of auto-indent spaces "" Advanced -- cgit v1.2.3