aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim4
-rw-r--r--runtime/lua/vim/filetype.lua1
2 files changed, 3 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a78478ec9e..11536adf69 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -845,8 +845,8 @@ au BufNewFile,BufRead *.hex,*.h32 setf hex
" Hjson
au BufNewFile,BufRead *.hjson setf hjson
-" HLS Playlist
-au BufNewFile,BufRead *.m3u8 setf hlsplaylist
+" HLS Playlist (or another form of playlist)
+au BufNewFile,BufRead *.m3u,*.m3u8 setf hlsplaylist
" Hollywood
au BufRead,BufNewFile *.hws setf hollywood
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index d8ede33dfa..bd317baae9 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -473,6 +473,7 @@ local extension = {
hex = 'hex',
['h32'] = 'hex',
hjson = 'hjson',
+ m3u = 'hlsplaylist',
m3u8 = 'hlsplaylist',
hog = 'hog',
hws = 'hollywood',