diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index f3fb54f..e2f2535 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -1207,15 +1207,15 @@ endfunction function! s:oPath.StrDisplay() dict let toReturn = self.GetLastPathComponent(1) - if self.isSymLink - let toReturn .= ' -> ' . self.symLinkDest - endif - let marks = self.MarkNames() if !empty(marks) let toReturn .= ' {' . join(marks, ',') . '}' endif + if self.isSymLink + let toReturn .= ' -> ' . self.symLinkDest + endif + if self.isReadOnly let toReturn .= s:tree_RO_str endif