mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-11 04:43:49 -05:00
Merge branch 'master' into fix-multibyte-path
This commit is contained in:
@@ -288,7 +288,7 @@ function! s:Bookmark.str()
|
||||
let pathStr = self.path.str({'format': 'UI'})
|
||||
if strdisplaywidth(pathStr) > pathStrMaxLen
|
||||
while strdisplaywidth(pathStr) > pathStrMaxLen && strchars(pathStr) > 0
|
||||
let pathStr = substitute(pathStr, '.\{1}', '', '')
|
||||
let pathStr = substitute(pathStr, '^.', '', '')
|
||||
endwhile
|
||||
let pathStr = '<' . pathStr
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user