From f197e20c6113407ec812e5e1c3b02e7f0c67c12a Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Thu, 18 Aug 2022 11:02:19 -0500 Subject: [PATCH] added (commented out) space-based tab section. --- neovim/.config/nvim/init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua index bbf40ab..8f85bfb 100644 --- a/neovim/.config/nvim/init.lua +++ b/neovim/.config/nvim/init.lua @@ -51,8 +51,13 @@ require('packages') opt.laststatus=2 --tab stuff opt.tabstop=4 - opt.shiftwidth=4 + opt.shiftwidth=0 --zero inherrits tabstop. opt.autoindent=true + opt.smartindent=true + opt.smarttab=true + --space based tabs. + -- opt.softtabstop=-1 --negative value inherrits shiftwidth. + -- opt.expandtab=true --highlight search results as you type. opt.hlsearch=true opt.incsearch=true