" 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
-au BufNewFile,BufRead *.am
- \ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
+au BufNewFile,BufRead *.am setf elf
" ALSA configuration
au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
" Autohotkey
au BufNewFile,BufRead *.ahk setf autohotkey
-" Automake
-au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake
-
" Autotest .at files are actually m4
au BufNewFile,BufRead *.at setf m4
" SMITH
au BufNewFile,BufRead *.smt,*.smith setf smith
+" Smithy
+au BufNewFile,BufRead *.smithy setf smithy
+
" Snobol4 and spitbol
au BufNewFile,BufRead *.sno,*.spt setf snobol4
\ 'smarty': ['file.tpl'],
\ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'],
\ 'smith': ['file.smt', 'file.smith'],
+ \ 'smithy': ['file.smithy'],
\ 'sml': ['file.sml'],
\ 'snobol4': ['file.sno', 'file.spt'],
\ 'solidity': ['file.sol'],