Merge pull request #54 from Vanderscycle/main
add specific tabbing for python filetype
This commit is contained in:
commit
acb70a6581
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue