fix: safely close last tree window (#2913)

fix: safely close tree window with pcall and debug logging

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Kyle Beede
2024-09-13 23:34:36 -07:00
committed by GitHub
parent cd9c6db77f
commit bd4881660b
2 changed files with 7 additions and 2 deletions

View File

@@ -1576,7 +1576,7 @@ Specify minimum notification level, uses the values from |vim.log.levels|
`ERROR`: hard errors e.g. failure to read from the file system.
`WARNING`: non-fatal errors e.g. unable to system open a file.
`INFO:` information only e.g. file copy path confirmation.
`DEBUG:` not used.
`DEBUG:` information for troubleshooting, e.g. failures in some window closing operations.
*nvim-tree.notify.absolute_path*
Whether to use absolute paths or item names in fs action notifications.