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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220912114449.7FF521C0CFD%40moolenaar.net.