Skip to content

Commit

Permalink
patch 9.0.0562: HSL playlist files are not recognized
Browse files Browse the repository at this point in the history
Problem:    HSL playlist files are not recognized.
Solution:   Add a pattern to recognize HSL palylist files. (Benoît Ryder,
            closes #11204)
  • Loading branch information
benoitryder authored and brammool committed Sep 23, 2022
1 parent 3bcd0dd commit 35fdd9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/filetype.vim
Expand Up @@ -844,6 +844,9 @@ au BufNewFile,BufRead *.hex,*.h32 setf hex
" Hjson
au BufNewFile,BufRead *.hjson setf hjson

" HLS Playlist
au BufNewFile,BufRead *.m3u8 setf hlsplaylist

" Hollywood
au BufRead,BufNewFile *.hws setf hollywood

Expand Down
1 change: 1 addition & 0 deletions src/testdir/test_filetype.vim
Expand Up @@ -255,6 +255,7 @@ let s:filename_checks = {
\ 'hex': ['file.hex', 'file.h32'],
\ 'hgcommit': ['hg-editor-file.txt'],
\ 'hjson': ['file.hjson'],
\ 'hlsplaylist': ['file.m3u8'],
\ 'hog': ['file.hog', 'snort.conf', 'vision.conf'],
\ 'hollywood': ['file.hws'],
\ 'hoon': ['file.hoon'],
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -699,6 +699,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
562,
/**/
561,
/**/
Expand Down

0 comments on commit 35fdd9a

Please sign in to comment.