From 35fdd9a67d73d4750152c419d4193ebb6b6d6eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FBeno=3DC3=3DAEt=3D20Ryder=3F=3D?= Date: Fri, 23 Sep 2022 20:33:39 +0100 Subject: [PATCH] patch 9.0.0562: HSL playlist files are not recognized MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: HSL playlist files are not recognized. Solution: Add a pattern to recognize HSL palylist files. (BenoƮt Ryder, closes #11204) --- runtime/filetype.vim | 3 +++ src/testdir/test_filetype.vim | 1 + src/version.c | 2 ++ 3 files changed, 6 insertions(+) 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, /**/