Skip to content

Commit 6e377ec

Browse files
amaanqbrammool
authored andcommitted
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)
1 parent 076de79 commit 6e377ec

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

runtime/filetype.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,9 @@ au BufNewFile,BufRead *.plp setf plp
15391539
" PO and PO template (GNU gettext)
15401540
au BufNewFile,BufRead *.po,*.pot setf po
15411541

1542+
" Pony
1543+
au BufNewFile,BufRead *.pony setf pony
1544+
15421545
" Postfix main config
15431546
au BufNewFile,BufRead main.cf,main.cf.proto setf pfmain
15441547

src/testdir/test_filetype.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ let s:filename_checks = {
448448
\ 'pod': ['file.pod'],
449449
\ 'poefilter': ['file.filter'],
450450
\ 'poke': ['file.pk'],
451+
\ 'pony': ['file.pony'],
451452
\ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'],
452453
\ 'pov': ['file.pov'],
453454
\ 'povini': ['.povrayrc'],

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ static char *(features[]) =
695695

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1412,
698700
/**/
699701
1411,
700702
/**/

0 commit comments

Comments
 (0)