Merge pull request #54 from Vanderscycle/main

add specific tabbing for python filetype
pull/56/head
siduck76 3 years ago committed by GitHub
commit acb70a6581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save