mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
display marks before the symlink target
This commit is contained in:
@@ -1207,15 +1207,15 @@ endfunction
|
|||||||
function! s:oPath.StrDisplay() dict
|
function! s:oPath.StrDisplay() dict
|
||||||
let toReturn = self.GetLastPathComponent(1)
|
let toReturn = self.GetLastPathComponent(1)
|
||||||
|
|
||||||
if self.isSymLink
|
|
||||||
let toReturn .= ' -> ' . self.symLinkDest
|
|
||||||
endif
|
|
||||||
|
|
||||||
let marks = self.MarkNames()
|
let marks = self.MarkNames()
|
||||||
if !empty(marks)
|
if !empty(marks)
|
||||||
let toReturn .= ' {' . join(marks, ',') . '}'
|
let toReturn .= ' {' . join(marks, ',') . '}'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if self.isSymLink
|
||||||
|
let toReturn .= ' -> ' . self.symLinkDest
|
||||||
|
endif
|
||||||
|
|
||||||
if self.isReadOnly
|
if self.isReadOnly
|
||||||
let toReturn .= s:tree_RO_str
|
let toReturn .= s:tree_RO_str
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user