Merge remote-tracking branch 'origin/master' into 2826-multi-instance-view-amc
This commit is contained in:
@@ -1067,7 +1067,7 @@ Configuration options for icons.
|
|||||||
|
|
||||||
*nvim-tree.renderer.icons.bookmarks_placement*
|
*nvim-tree.renderer.icons.bookmarks_placement*
|
||||||
Bookmark icon placement.
|
Bookmark icon placement.
|
||||||
Type: `string`, Default: `signcolumn`
|
Type: `string`, Default: `"signcolumn"`
|
||||||
|
|
||||||
*nvim-tree.renderer.icons.padding.icon*
|
*nvim-tree.renderer.icons.padding.icon*
|
||||||
Inserted between icon and filename.
|
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`
|
Type: `boolean`, Default: `false`
|
||||||
|
|
||||||
*nvim-tree.filters.no_bookmark*
|
*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`
|
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.
|
Enabling this is not useful as there is no means yet to persist bookmarks.
|
||||||
Type: `boolean`, Default: `false`
|
Type: `boolean`, Default: `false`
|
||||||
|
|||||||
@@ -57,7 +57,9 @@ end
|
|||||||
|
|
||||||
function M.close_popup()
|
function M.close_popup()
|
||||||
if current_popup ~= nil then
|
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)
|
vim.api.nvim_win_close(current_popup.winnr, true)
|
||||||
|
end
|
||||||
vim.cmd("augroup NvimTreeRemoveFilePopup | au! CursorMoved | augroup END")
|
vim.cmd("augroup NvimTreeRemoveFilePopup | au! CursorMoved | augroup END")
|
||||||
|
|
||||||
current_popup = nil
|
current_popup = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user