mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 13:52:06 +08:00
dont call RenderView() inside ReadMarks()
This commit is contained in:
parent
1d9564db54
commit
3a437b402a
|
@ -1459,7 +1459,6 @@ function! s:ReadMarks()
|
|||
let path = substitute(i, '^\w.\{-} \(.*\)$', '\1', '')
|
||||
let marks[key] = s:oPath.New(path)
|
||||
endfor
|
||||
call s:RenderView()
|
||||
endif
|
||||
endfunction
|
||||
" Function: s:TreeExistsForTab() {{{2
|
||||
|
@ -2520,7 +2519,7 @@ function! s:BindMappings()
|
|||
command! -buffer -complete=customlist,s:FindMarks -nargs=+ ClearMarks call <SID>ClearMarks('<args>')
|
||||
command! -buffer -complete=customlist,s:FindMarks -nargs=+ MarkToRoot call <SID>MarkToRoot('<args>')
|
||||
command! -buffer -nargs=0 ClearAllMarks call <SID>ClearAllMarks() <bar> call <SID>RenderView()
|
||||
command! -buffer -nargs=0 ReadMarks call <SID>ReadMarks()
|
||||
command! -buffer -nargs=0 ReadMarks call <SID>ReadMarks() <bar> call <SID>RenderView()
|
||||
command! -buffer -nargs=0 WriteMarks call <SID>WriteMarks()
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user