Skip to content

Commit 29d3db8

Browse files
committed
fix a couple of function calls that should have been renamed
Call nerdtree#echo, not s:echo. This was changed in the big refactor. Fixes preservim#224.
1 parent 2eff928 commit 29d3db8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugin/nerdtree/bookmark.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function! s:Bookmark.validate()
290290
else
291291
call s:Bookmark.CacheBookmarks(1)
292292
call nerdtree#renderView()
293-
call s:echo(self.name . "now points to an invalid location. See :help NERDTreeInvalidBookmarks for info.")
293+
call nerdtree#echo(self.name . "now points to an invalid location. See :help NERDTreeInvalidBookmarks for info.")
294294
return 0
295295
endif
296296
endfunction

plugin/nerdtree/path.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function! s:Path.changeToDir()
6868

6969
try
7070
execute "cd " . dir
71-
call s:echo("CWD is now: " . getcwd())
71+
call nerdtree#echo("CWD is now: " . getcwd())
7272
catch
7373
throw "NERDTree.PathChangeError: cannot change CWD to " . dir
7474
endtry

0 commit comments

Comments
 (0)