protect python settings

This commit is contained in:
Barak Michener 2013-08-10 16:43:07 -04:00
parent 5ceafd17a2
commit d0f9a2e733
6 changed files with 18 additions and 15 deletions

View file

@ -45,17 +45,19 @@ au BufRead,BufNewFile *.go set filetype=go
"Settings per filetype
"augroup python
""autocmd FileType python set omnifunc=pythoncomplete#Complete
""autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
""autocmd FileType python set completeopt-=preview
"autocmd FileType python set ts=4
"autocmd FileType python set softtabstop=4
"autocmd FileType python set shiftwidth=4
"autocmd FileType python set expandtab
"autocmd FileType python set nosmartindent
"autocmd FileType python let b:auto_trim_whitespace=1
"augroup END
if g:UseGooglePythonSettings == 0
augroup python
""autocmd FileType python set omnifunc=pythoncomplete#Complete
""autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
""autocmd FileType python set completeopt-=preview
autocmd FileType python set ts=4
autocmd FileType python set softtabstop=4
autocmd FileType python set shiftwidth=4
autocmd FileType python set expandtab
autocmd FileType python set nosmartindent
"autocmd FileType python let b:auto_trim_whitespace=1
augroup END
endif
"augroup javascript
"autocmd FileType javascript set ts=4
"autocmd FileType javascript set softtabstop=4