clarified comment on expandtab

This commit is contained in:
Gabe Venberg 2024-02-12 16:41:45 -06:00
parent 04c6116b73
commit 6038e14686
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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