summaryrefslogtreecommitdiff
path: root/lua/file_browser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/file_browser.lua')
-rw-r--r--lua/file_browser.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/file_browser.lua b/lua/file_browser.lua
index b9c31d62..a79cc7f0 100644
--- a/lua/file_browser.lua
+++ b/lua/file_browser.lua
@@ -65,7 +65,9 @@ return screen:new {
iterator = filesystem.iterator(item:filepath()),
breadcrumb = item:filepath()
})
- elseif item:filepath():match("%.playlist$") then
+ elseif
+ item:filepath():match("%.playlist$") or
+ item:filepath():match("%.m3u$") then
queue.open_playlist(item:filepath())
playback.playing:set(true)
backstack.push(playing:new())