File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ function! s:Path.cacheDisplayString() abort
64
64
if self .isSymLink
65
65
let self .cachedDisplayString = self .addDelimiter (self .cachedDisplayString) . ' -> '
66
66
let self .cachedDisplayString = self .addDelimiter (self .cachedDisplayString) . self .symLinkDest
67
- if self .isUnresolved
67
+ if self .isBroken
68
68
let self .cachedDisplayString = self .addDelimiter (self .cachedDisplayString) . g: NERDTreeGlyphBroken
69
69
endif
70
70
endif
@@ -622,22 +622,22 @@ function! s:Path.readInfoFromDisk(fullpath)
622
622
if isdirectory (a: fullpath )
623
623
let self .isDirectory = 1
624
624
let self .isReadOnly = 0
625
- let self .isUnresolved = 0
625
+ let self .isBroken = 0
626
626
elseif filereadable (a: fullpath )
627
627
let self .isDirectory = 0
628
628
let self .isReadOnly = filewritable (a: fullpath ) == # 0
629
- let self .isUnresolved = 0
629
+ let self .isBroken = 0
630
630
elseif ftype == # ' link'
631
631
let self .isDirectory = 0
632
632
let self .isReadOnly = 0
633
- let self .isUnresolved = 1
633
+ let self .isBroken = 1
634
634
else
635
635
call nerdtree#echoWarning (' invalid ' . a: fullpath . ' file type: ' . ftype)
636
636
throw ' NERDTree.InvalidArgumentsError: Invalid path = ' . a: fullpath
637
637
endif
638
638
639
639
let self .isExecutable = 0
640
- if ! self .isDirectory && ! self .isUnresolved
640
+ if ! self .isDirectory && ! self .isBroken
641
641
let self .isExecutable = getfperm (a: fullpath ) = ~# ' x'
642
642
endif
643
643
You can’t perform that action at this time.
0 commit comments