Merge pull request #54 from Vanderscycle/main
add specific tabbing for python filetype
This commit is contained in:
commit
acb70a6581
|
@ -40,5 +40,6 @@ function M.has_width_gt(cols)
|
||||||
-- Check if the windows width is greater than a given number of columns
|
-- Check if the windows width is greater than a given number of columns
|
||||||
return vim.fn.winwidth(0) / 2 > cols
|
return vim.fn.winwidth(0) / 2 > cols
|
||||||
end
|
end
|
||||||
|
-- file extension specific tabbing
|
||||||
|
vim.cmd([[autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4]])
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in New Issue