mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -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
|
else
|
||||||
call s:Bookmark.CacheBookmarks(1)
|
call s:Bookmark.CacheBookmarks(1)
|
||||||
call nerdtree#renderView()
|
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
|
return 0
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ function! s:Path.changeToDir()
|
|||||||
|
|
||||||
try
|
try
|
||||||
execute "cd " . dir
|
execute "cd " . dir
|
||||||
call s:echo("CWD is now: " . getcwd())
|
call nerdtree#echo("CWD is now: " . getcwd())
|
||||||
catch
|
catch
|
||||||
throw "NERDTree.PathChangeError: cannot change CWD to " . dir
|
throw "NERDTree.PathChangeError: cannot change CWD to " . dir
|
||||||
endtry
|
endtry
|
||||||
|
|||||||
Reference in New Issue
Block a user