mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 14:58:07 +08:00
display marks before the symlink target
This commit is contained in:
parent
c108a19881
commit
44e8534f1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user