-- Do not expand tabs to spaces
vim.opt.expandtab = false
-- Set the width of a tab character (how many spaces it visually occupies)
-- You can adjust this to your preference (e.g., 4 or 8)
vim.opt.tabstop = 3
-- Set the amount of indent for < and > commands, and for autoindent
vim.opt.shiftwidth = 3
-- When using <BS> (backspace) or <Tab>, they will behave as if they were
-- deleting/inserting tab characters, even if they're composed of spaces.
-- Set to 0 if you want exact character deletion/insertion.
vim.opt.softtabstop = 0
-- Set filetype for *.lib files to bash for syntax highlighting.
vim.cmd([[
autocmd BufNewFile,BufRead *.lib set filetype=sh
]])