Merge pull request #54 from Vanderscycle/main

add specific tabbing for python filetype
This commit is contained in:
siduck76 2021-06-04 09:59:46 +05:30 committed by GitHub
commit acb70a6581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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