Skip to content

Commit 6f47cc7

Browse files
Update vimrc
fix
1 parent f4bb44f commit 6f47cc7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

myVim/.vim/vimrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,9 @@ set shiftwidth=2 " indent width
111111
" set smarttab
112112
set expandtab " expand tab to space
113113

114-
autocmd FileType php setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=120
115114
autocmd FileType ruby setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=120
116115
autocmd FileType php setlocal tabstop=4 shiftwidth=4 softtabstop=4 textwidth=120
117-
autocmd FileType coffee,javascript setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=120
116+
autocmd FileType coffee,javascript setlocal tabstop=4 shiftwidth=4 softtabstop=4 textwidth=120
118117
autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4 textwidth=120
119118
autocmd FileType html,volt,htmldjango,xhtml,haml setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=0
120119
autocmd FileType sass,scss,css setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=120

0 commit comments

Comments
 (0)