Skip to content

Commit 3375b8a

Browse files
committed
[init.lua] Actually set tabstops and shi.
1 parent 7643d53 commit 3375b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,9 +1016,9 @@ vim.api.nvim_create_autocmd('BufWritePost', {
10161016
end,
10171017
})
10181018

1019-
vim.g.expandtab = true
1020-
vim.g.tabstop = 4
1021-
vim.g.shiftwidth = 4
1019+
vim.opt.tabstop = 4
1020+
vim.opt.expandtab = true
1021+
vim.opt.shiftwidth = 4
10221022

10231023
vim.keymap.set('n', '<leader>bd', ':bd<CR>')
10241024
vim.keymap.set('n', '<leader>bD', ':bd!<CR>')

0 commit comments

Comments
 (0)