diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua index cf289f6..0b479e2 100644 --- a/neovim/.config/nvim/init.lua +++ b/neovim/.config/nvim/init.lua @@ -57,9 +57,9 @@ 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. +-- for space based tabs, change expandtab to false. opt.expandtab = true +opt.softtabstop = -1 --negative value inherrits shiftwidth. --highlight search results as you type. opt.hlsearch = true opt.incsearch = true diff --git a/nvim_minimal/.config/nvim/init.lua b/nvim_minimal/.config/nvim/init.lua index 3ca764d..f5204a1 100644 --- a/nvim_minimal/.config/nvim/init.lua +++ b/nvim_minimal/.config/nvim/init.lua @@ -53,9 +53,9 @@ 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 +-- for space based tabs, change expandtab to false. +opt.expandtab=false +opt.softtabstop=-1 --negative value inherrits shiftwidth. --highlight search results as you type. opt.hlsearch = true opt.incsearch = true