mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-21 18:18:56 +08:00

The "o" mapping, which toggles directory nodes open/closed, allowed the user to close the tree root. This was not consistent with the "x" mapping which stops the user from doing this. This applies to a double-click on the root node as well. It should be noted that, if the root node is somehow closed, "o" and double click can still re-open the tree, even with this change. In other words, I was careful.