0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.1350: CPON files are not recognized

Problem:    CPON files are not recognized.
Solution:   Add patterns for CPON files. (Amaan Qureshi, closes #12053)
This commit is contained in:
Amaan Qureshi 2023-02-24 12:08:45 +00:00 committed by Bram Moolenaar
parent 3ddb1182b7
commit c2254764bc
3 changed files with 6 additions and 0 deletions

View File

@ -310,6 +310,9 @@ au BufNewFile,BufRead *.cdl setf cdl
" Conary Recipe " Conary Recipe
au BufNewFile,BufRead *.recipe setf conaryrecipe au BufNewFile,BufRead *.recipe setf conaryrecipe
" ChainPack Object Notation (CPON)
au BufNewFile,BufRead *.cpon setf cpon
" Controllable Regex Mutilator " Controllable Regex Mutilator
au BufNewFile,BufRead *.crm setf crm au BufNewFile,BufRead *.crm setf crm

View File

@ -124,6 +124,7 @@ let s:filename_checks = {
\ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'], \ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'],
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
\ 'cook': ['file.cook'], \ 'cook': ['file.cook'],
\ 'cpon': ['file.cpon'],
\ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
\ 'cqlang': ['file.cql'], \ 'cqlang': ['file.cql'],
\ 'crm': ['file.crm'], \ 'crm': ['file.crm'],

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1350,
/**/ /**/
1349, 1349,
/**/ /**/