* fix: live filter overlay width calculation
* refactor: simplify calculate_width return if not wininfo
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
* feat(live-filter): focus selected node after clear
* fix(#1785): retain focused node on filter toggle
* fix(#1785): apply requested changes
* fix(live-filter): focus last focused node when cleared on prompt
* refactor: store last focused node in `view` module
* refactor: store last focused node in view module
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix: use pcall to prevent live-filter regex errors
Wrap live filter's match function in pcall to prevent errors caused by
invalid regex while typing.
* nit: use ok for pcall rc
* nit: stylua fix
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer
* Revert "fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer"
This reverts commit e7136078f7.
* fix(#1629): nvim start with file named *NvimTree* treats file as tree
* fix(#1629): nvim start with file named *NvimTree* treats file as tree
* fix(#1639): ensure tree autocommands match filetype as well as name
* fix(#1639): fix bad merge
* fix(#1639): ensure tree autocommands match filetype as well as name