We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87fb215 commit 8df447aCopy full SHA for 8df447a
1 file changed
lua/dired/init.lua
@@ -991,6 +991,7 @@ Browser.State = {
991
on_lines = function()
992
local line = api.nvim_buf_get_text(state.search_buf, 0, 0, 0, -1, {})[1]
993
local query = line:sub(#(state.abbr_path or state.current_path) + 1)
994
+ query = query:gsub('^' .. SEPARATOR, '')
995
996
-- Empty query or directory navigation
997
if query == '' or query:match(SEPARATOR .. '$') then
0 commit comments