X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=c17af79ecc882b0031fdfc4ce44a0ed82a51c20f;hb=8edcfdb041cfb28a56369e1a65296a527d1632d2;hp=386961cb5f2e5487dcacc5fdb89f37114e9d48f1;hpb=28f65782f112ca952a9e068fbcc8677ef1dc4fbf;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 386961c..c17af79 100644 --- a/vimrc +++ b/vimrc @@ -247,10 +247,10 @@ if has('autocmd') " one which could change the filetype or other settings of the commit window. autocmd FileType gitcommit setlocal nomodeline | \ let g:secure_modelines_allowed_items = [] -" Allow folding. +" Allow folding in perl. autocmd FileType perl let perl_fold = 1 | \ let perl_fold_blocks = 1 -" Use the same comment string as for Vim files. +" Use the same comment string as for Vim files in vimperator files. autocmd FileType vimperator setlocal commentstring=\"%s " FTDETECT AUTO COMMANDS