]> granicus.if.org Git - vim/commitdiff
patch 8.0.1438: filetype detection test not updated for change v8.0.1438
authorBram Moolenaar <Bram@vim.org>
Mon, 29 Jan 2018 08:17:32 +0000 (09:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 29 Jan 2018 08:17:32 +0000 (09:17 +0100)
Problem:    Filetype detection test not updated for change.
Solution:   Update the test.

src/testdir/test_filetype.vim
src/version.c

index 1a427f641297b212f57252e981d5ca02dc767c46..6aa6dbab90769047aba98c648fa36d0fcf8aabdb 100644 (file)
@@ -323,7 +323,9 @@ let s:filename_checks = {
     \ 'pf': ['pf.conf'],
     \ 'pfmain': ['main.cf'],
     \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
-    \ 'pike': ['file.pike', 'file.lpc', 'file.ulpc', 'file.pmod'],
+    \ 'lpc': ['file.lpc', 'file.ulpc'],
+    \ 'pike': ['file.pike', 'file.pmod'],
+    \ 'cmod': ['file.cmod'],
     \ 'pilrc': ['file.rcp'],
     \ 'pine': ['.pinerc', 'pinerc', '.pinercex', 'pinercex'],
     \ 'pinfo': ['/etc/pinforc', '/.pinforc'],
index 39abe1fb337b7fbdddf99c0ab45e42f9963322de..f66cf456646f264ff62a02f2ce6dbf0366435d98 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1438,
 /**/
     1437,
 /**/