dot rc

Sign in or create your account | Project List | Help

dot rc Commit Details

Date:2010-07-15 14:45:07 (1 year 6 months ago)
Author:Luciano Rocha
Commit:b727a79ac76fe6e2e1d41fe151ae20aa1efecf05
Message:defaults for mason and perl files

Files: rc/vimrc (1 diff)

Change Details

rc/vimrc
110110      \ setlocal cinoptions={.5s,:.5s,+.5s,t0,g0,^-2,e-2,n-2,p2s,(0,=.5s
111111      \ formatoptions=croql cindent shiftwidth=4 tabstop=8
112112
113    au BufNewFile,BufRead *.comp
114      \ setlocal shiftwidth=4 tabstop=4 expandtab filetype=mason
115
116    au BufNewFile,BufRead /**/apps/**/*.html
117      \ setlocal shiftwidth=4 tabstop=4 expandtab filetype=mason
118
119    " indent style and file type for tests
120    au BufNewFile,BufRead *.t
121      \ setlocal shiftwidth=4 tabstop=4 expandtab filetype=perl
122
123    " indent style and file type for perl modules
124    au BufNewFile,BufRead *.pm
125      \ setlocal shiftwidth=4 tabstop=4 expandtab filetype=perl
126
127    " indent style and file type for perl scripts
128    au BufNewFile,BufRead *.pl
129      \ setlocal shiftwidth=4 tabstop=4 expandtab filetype=perl
130
113131    " use git styles for git commit message
114132    au BufNewFile,BufRead COMMIT_EDITMSG set filetype=gitcommit
115133

Archive Download the corresponding diff file

Branches:
master