# HG changeset patch # User Bram Moolenaar # Date 1663962303 -7200 # Node ID 6ae54a2f1fa1a64cb349d5161ddce650cac7fbc1 # Parent 484e295a50f55f603b24f8c9c4d4f5d5d6b34d04 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?= 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) diff --git a/runtime/filetype.vim b/runtime/filetype.vim --- 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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim --- 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 --- 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,