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

patch 9.0.1281: Cadence files are not recognized

Problem:    Cadence files are not recognized.
Solution:   Recognize Cadence files. (Janez Podhostnik, closes #11951)
This commit is contained in:
Janez Podhostnik 2023-02-05 13:01:40 +00:00 committed by Bram Moolenaar
parent 7a1bdaecf2
commit cb626a4692
3 changed files with 6 additions and 0 deletions

View File

@ -1911,6 +1911,9 @@ au BufNewFile,BufRead *.sst.meta,*.-sst.meta,*._sst.meta setf sisu
" SKILL " SKILL
au BufNewFile,BufRead *.il,*.ils,*.cdf setf skill au BufNewFile,BufRead *.il,*.ils,*.cdf setf skill
" Cadence
au BufNewFile,BufRead *.cdc setf cdc
" SLRN " SLRN
au BufNewFile,BufRead .slrnrc setf slrnrc au BufNewFile,BufRead .slrnrc setf slrnrc
au BufNewFile,BufRead *.score setf slrnsc au BufNewFile,BufRead *.score setf slrnsc

View File

@ -521,6 +521,7 @@ let s:filename_checks = {
\ 'sinda': ['file.sin', 'file.s85'], \ 'sinda': ['file.sin', 'file.s85'],
\ 'sisu': ['file.sst', 'file.ssm', 'file.ssi', 'file.-sst', 'file._sst', 'file.sst.meta', 'file.-sst.meta', 'file._sst.meta'], \ 'sisu': ['file.sst', 'file.ssm', 'file.ssi', 'file.-sst', 'file._sst', 'file.sst.meta', 'file.-sst.meta', 'file._sst.meta'],
\ 'skill': ['file.il', 'file.ils', 'file.cdf'], \ 'skill': ['file.il', 'file.ils', 'file.cdf'],
\ 'cdc': ['file.cdc'],
\ 'slang': ['file.sl'], \ 'slang': ['file.sl'],
\ 'slice': ['file.ice'], \ 'slice': ['file.ice'],
\ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'], \ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'],

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 */
/**/
1281,
/**/ /**/
1280, 1280,
/**/ /**/