Patch 9.0.0711
Problem:    SubStation Alpha files are not recognized.
Solution:   Add patterns for SubStation Alpha files. (closes #11332)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0710/runtime/filetype.vim        2022-10-08 12:20:25.410196228 
+0100
--- runtime/filetype.vim        2022-10-10 12:02:24.271653352 +0100
***************
*** 1750,1755 ****
--- 1750,1758 ----
  " SubRip
  au BufNewFile,BufRead *.srt                   setf srt
  
+ " SubStation Alpha
+ au BufNewFile,BufRead *.ass,*.ssa             setf ssa
+ 
  " svelte
  au BufNewFile,BufRead *.svelte                        setf svelte
  
*** ../vim-9.0.0710/src/testdir/test_filetype.vim       2022-10-08 
12:20:25.410196228 +0100
--- src/testdir/test_filetype.vim       2022-10-10 12:02:24.275653333 +0100
***************
*** 536,541 ****
--- 536,542 ----
      \ 'squirrel': ['file.nut'],
      \ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'],
      \ 'srt': ['file.srt'],
+     \ 'ssa': ['file.ass', 'file.ssa'],
      \ '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.0710/src/version.c       2022-10-10 11:46:12.210333715 +0100
--- src/version.c       2022-10-10 12:04:24.175110883 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     711,
  /**/

-- 
We do not stumble over mountains, but over molehills.
                                Confucius

 /// 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/20221010114347.CD5721C05EF%40moolenaar.net.

Raspunde prin e-mail lui