]> granicus.if.org Git - vim/commitdiff
patch 9.0.0562: HSL playlist files are not recognized v9.0.0562
author=?UTF-8?q?Beno=C3=AEt=20Ryder?= <benoit@ryder.fr>
Fri, 23 Sep 2022 19:33:39 +0000 (20:33 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 23 Sep 2022 19:33:39 +0000 (20:33 +0100)
Problem:    HSL playlist files are not recognized.
Solution:   Add a pattern to recognize HSL palylist files. (BenoĆ®t Ryder,
            closes #11204)

runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 78d723c58215c4a9a2299a1c3d24c0ef44e137a4..17697a1297bbc0ebf154da44ade3221729de7f98 100644 (file)
@@ -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
 
index 03384b60c4c4f865020037e9b6609a3e6c51e042..e66fd0c3077080942cfb5d04073662df168b7d75 100644 (file)
@@ -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'],
index 20ed2d76410d1ee55754ea617e04a463c749f9f1..665adc1ac21d66230e689e3fa2982a4531d86f2b 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    562,
 /**/
     561,
 /**/