summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-08 21:51:15 -0600
committerzachir <zachir@librem.one>2024-02-08 22:04:10 -0600
commit4f070005de1e8de35a66fe4679a478b6c4001a2e (patch)
tree03d14884ebd82ebec26f2318edbfcdfec510bd1c
parentf8fe06ceeff3629fbe1bef75f9754d04a9083d77 (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