Patch 9.0.0448
Problem: SubRip files are not recognized.
Solution: Add a pattern for SubRip. (closes #11113)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.0447/runtime/filetype.vim 2022-09-11 13:37:31.797170405 +0100
--- runtime/filetype.vim 2022-09-12 12:39:35.393644825 +0100
***************
*** 1723,1728 ****
--- 1723,1731 ----
" sed
au BufNewFile,BufRead *.sed setf sed
+ " SubRip
+ au BufNewFile,BufRead *.srt setf srt
+
" svelte
au BufNewFile,BufRead *.svelte setf svelte
*** ../vim-9.0.0447/src/testdir/test_filetype.vim 2022-09-11 13:37:31.797170405 +0100
--- src/testdir/test_filetype.vim 2022-09-12 12:39:35.393644825 +0100
***************
*** 531,536 ****
--- 531,537 ----
\ 'squid': ['squid.conf'],
\ 'squirrel': ['file.nut'],
\ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'],
+ \ 'srt': ['file.srt'],
\ 'sshconfig': ['ssh_config', '/.ssh/config', '/etc/ssh/ssh_config.d/file.conf', 'any/etc/ssh/ssh_config.d/file.conf', 'any/.ssh/config', 'any/.ssh/file.conf'],
\ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 'any/etc/ssh/sshd_config.d/file.conf'],
\ 'st': ['
file.st'],
*** ../vim-9.0.0447/src/version.c 2022-09-11 21:35:47.558255161 +0100
--- src/version.c 2022-09-12 12:42:59.001159262 +0100
***************
*** 705,706 ****
--- 705,708 ----
{ /* Add new patch number below this line */
+ /**/
+ 448,
/**/
--
The real
trick is
this: to
keep the
lines as
short as
possible
and keep
the size
the same
yet free
from the
need for
hyphena-
Dammit!! (Matthew Winn)
/// 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 ///