0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1422: Sage files are not recognized

Problem:    Sage files are not recognized.
Solution:   Add a pattern for Sage files. (Amaan Qureshi, closes #12176)
This commit is contained in:
Amaan Qureshi
2023-03-21 21:31:55 +00:00
committed by Bram Moolenaar
parent 8aa2a37f89
commit d0639d717b
3 changed files with 6 additions and 0 deletions

View File

@@ -1811,6 +1811,9 @@ au BufNewFile,BufRead Cargo.lock,*/.cargo/config,*/.cargo/credentials setf toml
" S-lang (or shader language, or SmallLisp) " S-lang (or shader language, or SmallLisp)
au BufNewFile,BufRead *.sl setf slang au BufNewFile,BufRead *.sl setf slang
" Sage
au BufNewFile,BufRead *.sage setf sage
" Samba config " Samba config
au BufNewFile,BufRead smb.conf setf samba au BufNewFile,BufRead smb.conf setf samba

View File

@@ -540,6 +540,7 @@ let s:filename_checks = {
\ 'skill': ['file.il', 'file.ils', 'file.cdf'], \ 'skill': ['file.il', 'file.ils', 'file.cdf'],
\ 'cdc': ['file.cdc'], \ 'cdc': ['file.cdc'],
\ 'slang': ['file.sl'], \ 'slang': ['file.sl'],
\ 'sage': ['file.sage'],
\ 'slice': ['file.ice'], \ 'slice': ['file.ice'],
\ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'], \ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'],
\ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'], \ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'],

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 */
/**/
1422,
/**/ /**/
1421, 1421,
/**/ /**/