mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 05:46:12 +00:00
vim-patch:9.0.0562: HSL playlist files are not recognized (#20307)
Problem: HSL playlist files are not recognized.
Solution: Add a pattern to recognize HSL palylist files. (Benoît Ryder,
closes vim/vim#11204)
35fdd9a67d
This commit is contained in:
@@ -845,6 +845,9 @@ au BufNewFile,BufRead *.hex,*.h32 setf hex
|
|||||||
" Hjson
|
" Hjson
|
||||||
au BufNewFile,BufRead *.hjson setf hjson
|
au BufNewFile,BufRead *.hjson setf hjson
|
||||||
|
|
||||||
|
" HLS Playlist
|
||||||
|
au BufNewFile,BufRead *.m3u8 setf hlsplaylist
|
||||||
|
|
||||||
" Hollywood
|
" Hollywood
|
||||||
au BufRead,BufNewFile *.hws setf hollywood
|
au BufRead,BufNewFile *.hws setf hollywood
|
||||||
|
|
||||||
|
@@ -473,6 +473,7 @@ local extension = {
|
|||||||
hex = 'hex',
|
hex = 'hex',
|
||||||
['h32'] = 'hex',
|
['h32'] = 'hex',
|
||||||
hjson = 'hjson',
|
hjson = 'hjson',
|
||||||
|
m3u8 = 'hlsplaylist',
|
||||||
hog = 'hog',
|
hog = 'hog',
|
||||||
hws = 'hollywood',
|
hws = 'hollywood',
|
||||||
hoon = 'hoon',
|
hoon = 'hoon',
|
||||||
|
@@ -255,6 +255,7 @@ let s:filename_checks = {
|
|||||||
\ 'hex': ['file.hex', 'file.h32'],
|
\ 'hex': ['file.hex', 'file.h32'],
|
||||||
\ 'hgcommit': ['hg-editor-file.txt'],
|
\ 'hgcommit': ['hg-editor-file.txt'],
|
||||||
\ 'hjson': ['file.hjson'],
|
\ 'hjson': ['file.hjson'],
|
||||||
|
\ 'hlsplaylist': ['file.m3u8'],
|
||||||
\ 'hog': ['file.hog', 'snort.conf', 'vision.conf'],
|
\ 'hog': ['file.hog', 'snort.conf', 'vision.conf'],
|
||||||
\ 'hollywood': ['file.hws'],
|
\ 'hollywood': ['file.hws'],
|
||||||
\ 'hoon': ['file.hoon'],
|
\ 'hoon': ['file.hoon'],
|
||||||
|
Reference in New Issue
Block a user