Add transformation to whitespace
Re-detect on buffer rename
Support nerdtree buffers