diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-03 20:14:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-03 20:14:12 +0100 |
commit | 3b8fcd945c5f0ee104eaabcf969fb6f973e79c77 (patch) | |
tree | 84b0a2974507748f428a616e965c4d35cfd5de1f /runtime/filetype.vim | |
parent | f609dcf8c1094f6fc95f4fc36321a1fb08a7110c (diff) | |
download | vim-3b8fcd945c5f0ee104eaabcf969fb6f973e79c77.zip |
patch 7.4.955
Problem: Vim doesn't recognize .pl6 and .pod6 files.
Solution: Recognize them as perl6 and pod6. (Mike Eve, closes #511)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 4d2ffe876..2efc13f76 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1400,7 +1400,7 @@ else au BufNewFile,BufRead *.pl call s:FTpl() endif au BufNewFile,BufRead *.plx,*.al setf perl -au BufNewFile,BufRead *.p6,*.pm6 setf perl6 +au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6 func! s:FTpl() if exists("g:filetype_pl") @@ -1429,6 +1429,7 @@ au BufNewFile,BufRead *.pm " Perl POD au BufNewFile,BufRead *.pod setf pod +au BufNewFile,BufRead *.pod6 setf pod6 " Php, php3, php4, etc. " Also Phtml (was used for PHP 2 in the past) |