changeset 30453:6ae54a2f1fa1 v9.0.0562

patch 9.0.0562: HSL playlist files are not recognized Commit: https://github.com/vim/vim/commit/35fdd9a67d73d4750152c419d4193ebb6b6d6eee Author: =?UTF-8?q?Beno=C3=AEt=20Ryder?= <benoit@ryder.fr> Date: Fri Sep 23 20:33:39 2022 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 23 Sep 2022 21:45:03 +0200
parents 484e295a50f5
children 49a0f45ab2aa
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -844,6 +844,9 @@ au BufNewFile,BufRead *.hex,*.h32		setf 
 " Hjson
 au BufNewFile,BufRead *.hjson			setf hjson
 
+" HLS Playlist
+au BufNewFile,BufRead *.m3u8			setf hlsplaylist
+
 " Hollywood
 au BufRead,BufNewFile *.hws			setf hollywood
 
--- 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'],
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    562,
+/**/
     561,
 /**/
     560,