Skip to content

Commit 9b7c0e7

Browse files
committed
update
1 parent d774cbe commit 9b7c0e7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lua/dired/init.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,6 +1168,11 @@ Browser.refresh = function(state, path)
11681168
if #tasks == 0 then
11691169
vim.schedule(function()
11701170
updateBuffer({})
1171+
vim.fn.prompt_setprompt(state.search_buf, state.current_path)
1172+
local count = api.nvim_buf_line_count(state.search_buf)
1173+
api.nvim_buf_set_extmark(state.search_buf, ns_id, count, 0, {
1174+
line_hl_group = 'DiredPrompt',
1175+
})
11711176
end)
11721177
return state
11731178
end

0 commit comments

Comments
 (0)