Skip to content

Commit

Permalink
[vimrc] make autocmd more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
majnemer committed Apr 25, 2011
1 parent 8bc712c commit 7ce3fe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vimrc
Expand Up @@ -230,10 +230,10 @@ if has('autocmd')


autocmd FileType c,cpp :call <SID>cabbrev() autocmd FileType c,cpp :call <SID>cabbrev()


autocmd BufRead,BufNewFile *.mm set filetype=noweb autocmd BufNewFile,BufRead *.mm set filetype=noweb
autocmd BufRead,BufNewFile *.scala set filetype=scala autocmd BufNewFile,BufRead *.scala set filetype=scala
autocmd BufRead,BufNewFile *.proto setfiletype proto autocmd BufNewFile,BufRead *.proto set filetype=proto
autocmd BufNewFile,BufRead *.atomo set ft=atomo autocmd BufNewFile,BufRead *.atomo set filetype=atomo
autocmd BufNewFile,BufRead *.atomo setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 commentstring=--\ %s autocmd BufNewFile,BufRead *.atomo setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 commentstring=--\ %s
endif endif


Expand Down

0 comments on commit 7ce3fe4

Please sign in to comment.