mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.0711: SubStation Alpha files are not recognized (#20577)
Problem: SubStation Alpha files are not recognized.
Solution: Add patterns for SubStation Alpha files. (closes vim/vim#11332)
084f2620ec
This commit is contained in:
parent
3ddd99ec64
commit
8781213f00
@ -1751,6 +1751,9 @@ au BufNewFile,BufRead *.sed setf sed
|
||||
" SubRip
|
||||
au BufNewFile,BufRead *.srt setf srt
|
||||
|
||||
" SubStation Alpha
|
||||
au BufNewFile,BufRead *.ass,*.ssa setf ssa
|
||||
|
||||
" svelte
|
||||
au BufNewFile,BufRead *.svelte setf svelte
|
||||
|
||||
|
@ -970,6 +970,8 @@ local extension = {
|
||||
mot = 'srec',
|
||||
['s19'] = 'srec',
|
||||
srt = 'srt',
|
||||
ssa = 'ssa',
|
||||
ass = 'ssa',
|
||||
st = 'st',
|
||||
imata = 'stata',
|
||||
['do'] = 'stata',
|
||||
|
@ -537,6 +537,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
Loading…
Reference in New Issue
Block a user