From 6e377eca8de4c0c0d25808beb7de7676194ebf1d Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Fri, 17 Mar 2023 18:42:58 +0000 Subject: patch 9.0.1412: Pony files are not recognized Problem: Pony files are not recognized. Solution: Add a pattern for Pony files. (Amaan Qureshi, closes #12155) --- runtime/filetype.vim | 3 +++ src/testdir/test_filetype.vim | 1 + src/version.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 462023365..bcd36b521 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1539,6 +1539,9 @@ au BufNewFile,BufRead *.plp setf plp " PO and PO template (GNU gettext) au BufNewFile,BufRead *.po,*.pot setf po +" Pony +au BufNewFile,BufRead *.pony setf pony + " Postfix main config au BufNewFile,BufRead main.cf,main.cf.proto setf pfmain diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 4d77dc825..70e79eae2 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -448,6 +448,7 @@ let s:filename_checks = { \ 'pod': ['file.pod'], \ 'poefilter': ['file.filter'], \ 'poke': ['file.pk'], + \ 'pony': ['file.pony'], \ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'], \ 'pov': ['file.pov'], \ 'povini': ['.povrayrc'], diff --git a/src/version.c b/src/version.c index 7882c231a..f0a816f57 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1412, /**/ 1411, /**/ -- cgit v1.2.1