Skip to content

Commit 668240c

Browse files
committed
More tab options
1 parent 8005e14 commit 668240c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

init.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@ vim.o.scrolloff = 10
163163

164164
-- Tab width
165165
vim.o.tabstop = 4
166-
vim.o.shiftwidth = 4
167166
vim.o.softtabstop = 4
167+
vim.o.shiftwidth = 0
168+
vim.o.expandtab = true
169+
vim.o.smartindent = true
170+
vim.o.autoindent = true
168171

169172
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
170173
-- instead raise a dialog asking if you wish to save the current file(s)

0 commit comments

Comments
 (0)