We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f0de11 commit 7a6217aCopy full SHA for 7a6217a
1 file changed
lua/dired/init.lua
@@ -1003,7 +1003,7 @@ Browser.State = {
1003
query = query:gsub('^' .. SEPARATOR, '')
1004
1005
-- Empty query or directory navigation
1006
- if query == '' then
+ if query == '' or query:match(SEPARATOR .. '$') then
1007
Actions.openDirectory(state, state.current_path).run()
1008
return
1009
end
@@ -1023,6 +1023,7 @@ Browser.State = {
1023
},
1024
virt_text_pos = 'inline',
1025
})
1026
+ update_display(state, vim.list_slice(entries, 1, 80))
1027
1028
1029
update_display(state, entries)
0 commit comments