]> git.pld-linux.org Git - packages/vim.git/blob - vim-filetype_vim-perl_tests.patch
- patch for filetype.vim to recognize perl tests (t/*.t) as perl, not tads files
[packages/vim.git] / vim-filetype_vim-perl_tests.patch
1 --- vim62/runtime/filetype.vim.orig     2004-04-27 07:44:02.019203248 +0200
2 +++ vim62/runtime/filetype.vim  2004-04-27 07:45:18.716543480 +0200
3 @@ -1306,6 +1306,9 @@
4  " Standard ML
5  au BufNewFile,BufRead *.sml                    setf sml
6  
7 +" tests for perl modules
8 +au BufNewFile,BufRead t/*.t                    call FTCheck_pl()
9 +
10  " Tads (or Nroff)
11  au BufNewFile,BufRead *.t
12         \ if !<SID>FTnroff() | setf tads | endif
This page took 0.142648 seconds and 4 git commands to generate.