Merge remote-tracking branch 'origin/master' into 2826-multi-instance-view-amc

This commit is contained in:
Alexander Courtis 2025-06-17 17:01:20 +10:00
commit b1a5cb55b0
2 changed files with 5 additions and 3 deletions

View File

@ -1067,7 +1067,7 @@ Configuration options for icons.
*nvim-tree.renderer.icons.bookmarks_placement*
Bookmark icon placement.
Type: `string`, Default: `signcolumn`
Type: `string`, Default: `"signcolumn"`
*nvim-tree.renderer.icons.padding.icon*
Inserted between icon and filename.
@ -1381,7 +1381,7 @@ delete/wipe. A reload or filesystem event will result in an update.
Type: `boolean`, Default: `false`
*nvim-tree.filters.no_bookmark*
Do not show files that are not bookarked.
Do not show files that are not bookmarked.
Toggle via |nvim-tree-api.tree.toggle_no_bookmark_filter()|, default `M`
Enabling this is not useful as there is no means yet to persist bookmarks.
Type: `boolean`, Default: `false`

View File

@ -57,7 +57,9 @@ end
function M.close_popup()
if current_popup ~= nil then
if vim.api.nvim_win_is_valid(current_popup.winnr) then
vim.api.nvim_win_close(current_popup.winnr, true)
end
vim.cmd("augroup NvimTreeRemoveFilePopup | au! CursorMoved | augroup END")
current_popup = nil