From: =?UTF-8?q?Beno=C3=AEt=20Ryder?= Date: Fri, 23 Sep 2022 19:33:39 +0000 (+0100) Subject: patch 9.0.0562: HSL playlist files are not recognized X-Git-Tag: v9.0.0562 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35fdd9a67d73d4750152c419d4193ebb6b6d6eee;p=vim patch 9.0.0562: HSL playlist files are not recognized Problem: HSL playlist files are not recognized. Solution: Add a pattern to recognize HSL palylist files. (BenoƮt Ryder, closes #11204) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 78d723c58..17697a129 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 03384b60c..e66fd0c30 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -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'], diff --git a/src/version.c b/src/version.c index 20ed2d764..665adc1ac 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 562, /**/ 561, /**/