Mercurial > vim
changeset 32162:c1bf74e139c3 v9.0.1412
patch 9.0.1412: Pony files are not recognized
Commit: https://github.com/vim/vim/commit/6e377eca8de4c0c0d25808beb7de7676194ebf1d
Author: Amaan Qureshi <amaanq12@gmail.com>
Date: Fri Mar 17 18:42:58 2023 +0000
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 https://github.com/vim/vim/issues/12155)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 Mar 2023 19:45:05 +0100 |
parents | c234bd6a1cf7 |
children | e23efcbde488 |
files | runtime/filetype.vim src/testdir/test_filetype.vim src/version.c |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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'],