mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 9.0.1176: smithy files are not recognized
Problem: smithy files are not recognized. Solution: Add a pattern for Smithy files. (Chris Kipp, closes #11804)
This commit is contained in:
parent
ea125393af
commit
f68cddabff
@ -110,9 +110,11 @@ au BufNewFile,BufRead *.a65 setf a65
|
|||||||
" Applescript
|
" Applescript
|
||||||
au BufNewFile,BufRead *.scpt setf applescript
|
au BufNewFile,BufRead *.scpt setf applescript
|
||||||
|
|
||||||
|
" Automake (must be before the *.am pattern)
|
||||||
|
au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake
|
||||||
|
|
||||||
" Applix ELF
|
" Applix ELF
|
||||||
au BufNewFile,BufRead *.am
|
au BufNewFile,BufRead *.am setf elf
|
||||||
\ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
|
|
||||||
|
|
||||||
" ALSA configuration
|
" ALSA configuration
|
||||||
au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
|
au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
|
||||||
@ -187,9 +189,6 @@ au BufNewFile,BufRead *.au3 setf autoit
|
|||||||
" Autohotkey
|
" Autohotkey
|
||||||
au BufNewFile,BufRead *.ahk setf autohotkey
|
au BufNewFile,BufRead *.ahk setf autohotkey
|
||||||
|
|
||||||
" Automake
|
|
||||||
au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake
|
|
||||||
|
|
||||||
" Autotest .at files are actually m4
|
" Autotest .at files are actually m4
|
||||||
au BufNewFile,BufRead *.at setf m4
|
au BufNewFile,BufRead *.at setf m4
|
||||||
|
|
||||||
@ -1928,6 +1927,9 @@ au BufNewFile,BufRead *.smi
|
|||||||
" SMITH
|
" SMITH
|
||||||
au BufNewFile,BufRead *.smt,*.smith setf smith
|
au BufNewFile,BufRead *.smt,*.smith setf smith
|
||||||
|
|
||||||
|
" Smithy
|
||||||
|
au BufNewFile,BufRead *.smithy setf smithy
|
||||||
|
|
||||||
" Snobol4 and spitbol
|
" Snobol4 and spitbol
|
||||||
au BufNewFile,BufRead *.sno,*.spt setf snobol4
|
au BufNewFile,BufRead *.sno,*.spt setf snobol4
|
||||||
|
|
||||||
|
@ -528,6 +528,7 @@ let s:filename_checks = {
|
|||||||
\ 'smarty': ['file.tpl'],
|
\ 'smarty': ['file.tpl'],
|
||||||
\ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'],
|
\ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'],
|
||||||
\ 'smith': ['file.smt', 'file.smith'],
|
\ 'smith': ['file.smt', 'file.smith'],
|
||||||
|
\ 'smithy': ['file.smithy'],
|
||||||
\ 'sml': ['file.sml'],
|
\ 'sml': ['file.sml'],
|
||||||
\ 'snobol4': ['file.sno', 'file.spt'],
|
\ 'snobol4': ['file.sno', 'file.spt'],
|
||||||
\ 'solidity': ['file.sol'],
|
\ 'solidity': ['file.sol'],
|
||||||
|
@ -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 */
|
||||||
|
/**/
|
||||||
|
1176,
|
||||||
/**/
|
/**/
|
||||||
1175,
|
1175,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user