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:
committed by
Bram Moolenaar
parent
8aa2a37f89
commit
d0639d717b
@@ -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
|
||||||
|
|
||||||
|
@@ -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'],
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user