0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 9.0.0711: SubStation Alpha files are not recognized

Problem:    SubStation Alpha files are not recognized.
Solution:   Add patterns for SubStation Alpha files. (closes #11332)
This commit is contained in:
ObserverOfTime
2022-10-10 12:08:59 +01:00
committed by Bram Moolenaar
parent 4282633ba6
commit 084f2620ec
3 changed files with 6 additions and 0 deletions

View File

@@ -1750,6 +1750,9 @@ au BufNewFile,BufRead *.sed setf sed
" SubRip " SubRip
au BufNewFile,BufRead *.srt setf srt au BufNewFile,BufRead *.srt setf srt
" SubStation Alpha
au BufNewFile,BufRead *.ass,*.ssa setf ssa
" svelte " svelte
au BufNewFile,BufRead *.svelte setf svelte au BufNewFile,BufRead *.svelte setf svelte

View File

@@ -536,6 +536,7 @@ let s:filename_checks = {
\ 'squirrel': ['file.nut'], \ 'squirrel': ['file.nut'],
\ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'], \ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'],
\ 'srt': ['file.srt'], \ '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'], \ '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'], \ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 'any/etc/ssh/sshd_config.d/file.conf'],
\ 'st': ['file.st'], \ 'st': ['file.st'],

View File

@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
711,
/**/ /**/
710, 710,
/**/ /**/