summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-06-04 23:24:28 -0500
committerzachir <zachir@librem.one>2024-06-04 23:24:28 -0500
commit5578f1ca7eb8fcbe449c1fad1ea9a99a3a8c5938 (patch)
treeaf9f2aa2deb26d8258692bffdf30f0d3091a9dde /nvim/init.vim
parentfa42672400b9b668a77b649843456af310fc21d3 (diff)
Use nvim smarttab and smartindent
This gets all of the indenting and such sorted to be "smart".
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim8
1 files changed, 3 insertions, 5 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 97b8a40..3453b71 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -51,13 +51,11 @@ set hlsearch " Highlight all search results
set smartcase " Enable smart-case search
set incsearch " Searches for strings incrementally
-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
-
+set smartindent " Enable smart-indent
+set smarttab " Enable smart-tabs
+set softtabstop=2 " Number of spaces per Tab
"" Advanced
set ruler " Show row and column ruler information