scrooloose/nerdtree — pull request #167 by jpetrie (2012-05-31 03:46:05+00:00)
Title: Ensure NERDTreeFile syntax group is matched when using NERDTreeDirArrows

The syntax/nerdtree.vim file defines the NERDTreeFile group using regular expressions which assume a file line looks like it does without the new NERDTreeDirArrows feature enabled. My proposed change checks the value of g:NERDTreeDirArrows and adjusts the regular expression for the file group appropriately.