summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-08 21:51:15 -0600
committerzachir <zachir@librem.one>2024-02-08 21:51:15 -0600
commiteeebb9dac0409193f75f0e9ef2a2e748553f2e42 (patch)
treeddc5f8abd71456a055338b6148f5bfab91375d40
parent1b98dc08fa3084fcd98a908c49d6396faa923b5e (diff)
nvim: Expand tabs to spaces
We're switching back to the objectively correct method of using spaces instead of tabs.
-rw-r--r--nvim/init.vim12
1 files 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