fix nerd tree closing

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>