From 5578f1ca7eb8fcbe449c1fad1ea9a99a3a8c5938 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 4 Jun 2024 23:24:28 -0500 Subject: Use nvim smarttab and smartindent This gets all of the indenting and such sorted to be "smart". --- nvim/init.vim | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'nvim') 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 -- cgit v1.2.3