Patch 9.0.0583

3 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 25, 2022, 7:36:31 AM9/25/22
to vim...@googlegroups.com

Patch 9.0.0583
Problem: Only recognizing .m3u8 files is inconsistent.
Solution: Also matc .m3u files. (issue #11204)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0582/runtime/filetype.vim 2022-09-24 11:04:34.841432904 +0100
--- runtime/filetype.vim 2022-09-25 12:31:59.880013898 +0100
***************
*** 844,851 ****
" Hjson
au BufNewFile,BufRead *.hjson setf hjson

! " HLS Playlist
! au BufNewFile,BufRead *.m3u8 setf hlsplaylist

" Hollywood
au BufRead,BufNewFile *.hws setf hollywood
--- 844,851 ----
" Hjson
au BufNewFile,BufRead *.hjson setf hjson

! " HLS Playlist (or another form of playlist)
! au BufNewFile,BufRead *.m3u,*.m3u8 setf hlsplaylist

" Hollywood
au BufRead,BufNewFile *.hws setf hollywood
*** ../vim-9.0.0582/src/testdir/test_filetype.vim 2022-09-24 11:04:34.841432904 +0100
--- src/testdir/test_filetype.vim 2022-09-25 12:33:24.571869509 +0100
***************
*** 255,261 ****
\ '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'],
--- 255,261 ----
\ 'hex': ['file.hex', 'file.h32'],
\ 'hgcommit': ['hg-editor-file.txt'],
\ 'hjson': ['file.hjson'],
! \ 'hlsplaylist': ['file.m3u', 'file.m3u8'],
\ 'hog': ['file.hog', 'snort.conf', 'vision.conf'],
\ 'hollywood': ['file.hws'],
\ 'hoon': ['file.hoon'],
*** ../vim-9.0.0582/src/version.c 2022-09-25 11:20:59.688270261 +0100
--- src/version.c 2022-09-25 12:32:57.111914851 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 583,
/**/

--
An error has occurred. Hit any user to continue.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages