Patch 9.0.1176
Problem: smithy files are not recognized.
Solution: Add a pattern for Smithy files. (Chris Kipp, closes #11804)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1175/runtime/filetype.vim 2023-01-10 19:58:31.030209252 +0000
--- runtime/filetype.vim 2023-01-11 12:17:42.557960886 +0000
***************
*** 110,118 ****
" Applescript
au BufNewFile,BufRead *.scpt setf applescript
" Applix ELF
! au BufNewFile,BufRead *.am
! \ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
" ALSA configuration
au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
--- 110,120 ----
" 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 setf elf
" ALSA configuration
au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
***************
*** 187,195 ****
" 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
--- 189,194 ----
***************
*** 1928,1933 ****
--- 1927,1935 ----
" 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
*** ../vim-9.0.1175/src/testdir/test_filetype.vim 2023-01-10 19:58:31.030209252 +0000
--- src/testdir/test_filetype.vim 2023-01-11 12:16:59.633842016 +0000
***************
*** 528,533 ****
--- 528,534 ----
\ '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'],
*** ../vim-9.0.1175/src/version.c 2023-01-11 11:46:15.065636518 +0000
--- src/version.c 2023-01-11 12:18:59.530427692 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1176,
/**/
--
Article in the first Free Software Magazine: "Bram Moolenaar studied
electrical engineering at the Technical University of Delft and
graduated in 1985 on a multi-processor Unix architecture."
Response by "dimator": Could the school not afford a proper
stage for the ceremony?
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///