mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
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 #224.
This commit is contained in:
@@ -290,7 +290,7 @@ function! s:Bookmark.validate()
|
||||
else
|
||||
call s:Bookmark.CacheBookmarks(1)
|
||||
call nerdtree#renderView()
|
||||
call s:echo(self.name . "now points to an invalid location. See :help NERDTreeInvalidBookmarks for info.")
|
||||
call nerdtree#echo(self.name . "now points to an invalid location. See :help NERDTreeInvalidBookmarks for info.")
|
||||
return 0
|
||||
endif
|
||||
endfunction
|
||||
|
||||
@@ -68,7 +68,7 @@ function! s:Path.changeToDir()
|
||||
|
||||
try
|
||||
execute "cd " . dir
|
||||
call s:echo("CWD is now: " . getcwd())
|
||||
call nerdtree#echo("CWD is now: " . getcwd())
|
||||
catch
|
||||
throw "NERDTree.PathChangeError: cannot change CWD to " . dir
|
||||
endtry
|
||||
|
||||
Reference in New Issue
Block a user