1 if exists("did_load_filetypes")
7 autocmd BufNewFile,BufReadPost *.txt,*README* setlocal filetype=text
8 autocmd BufReadPost ~/tmp/mozilla/firefox/viewSource.tmp/*.txt setlocal textwidth=0 " Files from ViewSourceWith
11 autocmd BufNewFile,BufReadPost *.tmpl setlocal filetype=htmlcheetah
13 " Pascal files with case-insensitive extensions
14 autocmd BufReadPost *.PAS setlocal filetype=pascal
17 autocmd BufReadPost *.m3u,*.M3U setlocal filetype=playlist
19 " Python files sometimes are recognized as conf
20 autocmd BufReadPost *.py setlocal filetype=python
21 " Python Templates (Quixote) are Python files
22 autocmd BufNewFile,BufReadPost *.ptl setlocal filetype=python
23 " Python Embedded are mason-like python templates
24 autocmd BufNewFile,BufReadPost *.pyem setlocal filetype=python filetype=mason
27 autocmd BufReadPost known_hosts setlocal filetype=ssh
28 autocmd BufReadPost authorized_keys setlocal filetype=ssh
30 " Set mapping for CVS/Subversion/Mercurial/git commit files
31 autocmd BufReadPost /tmp/cvs* setlocal filetype=cvscommit
32 autocmd BufReadPost svn-commit.tmp*,svn-commit.*.tmp* setlocal filetype=svncommit
33 autocmd BufReadPost /tmp/hg-editor-*.txt setlocal filetype=hgcommit
34 autocmd BufReadPost .git/*MSG setlocal filetype=gitcommit