expandtab for python

This commit is contained in:
hophacker 2018-07-23 06:16:10 +08:00
parent 1c0054a329
commit 9dc3b1e52d
2 changed files with 8 additions and 3 deletions

4
vim/settings/a.rb Normal file
View File

@ -0,0 +1,4 @@
[1,2,3,4].each do |number|
next
p number
end

View File

@ -1,3 +1,4 @@
autocmd FileType python set shiftwidth=2
autocmd FileType python set tabstop=2
autocmd FileType python set softtabstop=2
autocmd FileType python set shiftwidth=4
autocmd FileType python set tabstop=4
autocmd FileType python set softtabstop=4
autocmd FileType python set expandtab