diff --git a/lua/settings.lua b/lua/settings.lua index a9d596b..741644a 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -35,11 +35,11 @@ set.expandtab = false set.shiftwidth = 4 set.tabstop = 4 --- enable expandtab for python and sent files +-- enable expandtab for certain file types files vim.api.nvim_create_augroup('setExpandTabPython', { clear = true }) vim.api.nvim_create_autocmd('Filetype', { group = 'setExpandTabPython', - pattern = { 'python', 'sent' }, + pattern = { 'python', 'sent', 'toml' }, command = 'setlocal expandtab tabstop=4 shiftwidth=4', })