8a6ae7c633
When g:NERDTreeChDirMode is 2, changing the tree root will change the working directory as well. This change was silent because the wrong function was used to make the switch. This commit uses a better function that echoes a message.