Merge pull request #704 from lifecrisis/bookmarks-markers

FEATURE: The g:NERDTreeMarkBookmarks setting
This commit is contained in:
Phil Runninger
2017-06-11 23:56:34 -04:00
committed by GitHub
3 changed files with 15 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ function! s:Path.cacheDisplayString() abort
call add(self._bookmarkNames, i.name)
endif
endfor
if !empty(self._bookmarkNames)
if !empty(self._bookmarkNames) && g:NERDTreeMarkBookmarks == 1
let self.cachedDisplayString .= ' {' . join(self._bookmarkNames) . '}'
endif