Fix expandtab setting for newly-opened files... again

This commit is contained in:
Josh Holtrop 2026-06-09 15:37:40 -04:00
parent b0d189b529
commit daab290325

View File

@ -18,6 +18,12 @@ vim.opt.wildmode = {'list:longest'}
vim.opt.splitbelow = true vim.opt.splitbelow = true
vim.opt.splitright = true vim.opt.splitright = true
vim.g.editorconfig = false vim.g.editorconfig = false
-- Following are also set in the BufReadPost autocommand below
vim.opt.expandtab = true
vim.opt.ts = 4
vim.opt.sw = 4
vim.opt.sts = 4
vim.opt.cinoptions = ":0,g0"
local holtrop_bufread_group = vim.api.nvim_create_augroup("holtrop_bufread_group", { clear = true }) local holtrop_bufread_group = vim.api.nvim_create_augroup("holtrop_bufread_group", { clear = true })