]> git.pld-linux.org Git - packages/vim.git/commitdiff
- patch for filetype.vim to recognize perl tests (t/*.t) as perl, not tads files
authorradek <radek@pld-linux.org>
Tue, 27 Apr 2004 05:55:16 +0000 (05:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-filetype_vim-perl_tests.patch -> 1.1

vim-filetype_vim-perl_tests.patch [new file with mode: 0644]

diff --git a/vim-filetype_vim-perl_tests.patch b/vim-filetype_vim-perl_tests.patch
new file mode 100644 (file)
index 0000000..c970331
--- /dev/null
@@ -0,0 +1,12 @@
+--- vim62/runtime/filetype.vim.orig    2004-04-27 07:44:02.019203248 +0200
++++ vim62/runtime/filetype.vim 2004-04-27 07:45:18.716543480 +0200
+@@ -1306,6 +1306,9 @@
+ " Standard ML
+ au BufNewFile,BufRead *.sml                   setf sml
++" tests for perl modules
++au BufNewFile,BufRead t/*.t                   call FTCheck_pl()
++
+ " Tads (or Nroff)
+ au BufNewFile,BufRead *.t
+       \ if !<SID>FTnroff() | setf tads | endif
This page took 0.034413 seconds and 4 git commands to generate.