diff --git a/lua/misc-utils.lua b/lua/misc-utils.lua index 3fb8d2a..bab2b56 100644 --- a/lua/misc-utils.lua +++ b/lua/misc-utils.lua @@ -40,5 +40,6 @@ function M.has_width_gt(cols) -- Check if the windows width is greater than a given number of columns return vim.fn.winwidth(0) / 2 > cols end - +-- file extension specific tabbing +vim.cmd([[autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4]]) return M