Skip to content

Commit b1a5cb5

Browse files
committed
Merge remote-tracking branch 'origin/master' into 2826-multi-instance-view-amc
2 parents 1fe6ed8 + d54a187 commit b1a5cb5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/nvim-tree-lua.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ Configuration options for icons.
10671067

10681068
*nvim-tree.renderer.icons.bookmarks_placement*
10691069
Bookmark icon placement.
1070-
Type: `string`, Default: `signcolumn`
1070+
Type: `string`, Default: `"signcolumn"`
10711071

10721072
*nvim-tree.renderer.icons.padding.icon*
10731073
Inserted between icon and filename.
@@ -1381,7 +1381,7 @@ delete/wipe. A reload or filesystem event will result in an update.
13811381
Type: `boolean`, Default: `false`
13821382

13831383
*nvim-tree.filters.no_bookmark*
1384-
Do not show files that are not bookarked.
1384+
Do not show files that are not bookmarked.
13851385
Toggle via |nvim-tree-api.tree.toggle_no_bookmark_filter()|, default `M`
13861386
Enabling this is not useful as there is no means yet to persist bookmarks.
13871387
Type: `boolean`, Default: `false`

lua/nvim-tree/actions/node/file-popup.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ end
5757

5858
function M.close_popup()
5959
if current_popup ~= nil then
60-
vim.api.nvim_win_close(current_popup.winnr, true)
60+
if vim.api.nvim_win_is_valid(current_popup.winnr) then
61+
vim.api.nvim_win_close(current_popup.winnr, true)
62+
end
6163
vim.cmd("augroup NvimTreeRemoveFilePopup | au! CursorMoved | augroup END")
6264

6365
current_popup = nil

0 commit comments

Comments
 (0)