X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vim%2Ffiletype.vim;h=2437adab5406f1352c1d2c693cff736c29d43c23;hb=HEAD;hp=0a093e9437b8f8427611f2e6785b1ed2cfc82915;hpb=3db0fedaf633d333a03a923e6361346542839642;p=dotfiles.git diff --git a/.vim/filetype.vim b/.vim/filetype.vim index 0a093e9..e39f2d5 100644 --- a/.vim/filetype.vim +++ b/.vim/filetype.vim @@ -5,7 +5,10 @@ endif augroup filetypedetect " Text files autocmd BufNewFile,BufReadPost *.txt,*README* setlocal filetype=text - autocmd BufReadPost ~/tmp/*.txt setlocal textwidth=0 " Files from ViewSourceWith + + " Files from textern + autocmd BufReadPost /tmp/textern*/*.txt setlocal textwidth=0 + autocmd BufReadPost /tmp/textern*/stackoverflow.com*.txt Code " Cheetah templates autocmd BufNewFile,BufReadPost *.tmpl setlocal filetype=htmlcheetah @@ -21,7 +24,7 @@ augroup filetypedetect " Python Templates (Quixote) are Python files autocmd BufNewFile,BufReadPost *.ptl setlocal filetype=python " Python Embedded are mason-like python templates - autocmd BufNewFile,BufReadPost *.pyem setlocal filetype=python filetype=mason + autocmd BufNewFile,BufReadPost *.pyem setlocal filetype=python.mason.html " ssh files autocmd BufReadPost known_hosts setlocal filetype=ssh @@ -32,7 +35,4 @@ augroup filetypedetect autocmd BufReadPost svn-commit.tmp*,svn-commit.*.tmp* setlocal filetype=svncommit autocmd BufReadPost /tmp/hg-editor-*.txt setlocal filetype=hgcommit autocmd BufReadPost .git/*MSG setlocal filetype=gitcommit - - " Medap-RM Method files - autocmd BufNewFile,BufReadPost *.rsc setlocal filetype=conf filetype=medaprm-method augroup END