commit 29d3db8ffe795e1b2d29c3333fe52f71acd4c9be parent 2eff928e7ca9aab73ef3a8ec8f2ece1a8628d1d3 Author: Martin Grenfell <martin.grenfell@gmail.com> Date: Sun, 6 Jan 2013 00:56:22 +0000 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. Diffstat:
| M | plugin/nerdtree/bookmark.vim | | | 2 | +- |
| M | plugin/nerdtree/path.vim | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/nerdtree/bookmark.vim b/plugin/nerdtree/bookmark.vim @@ -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 diff --git a/plugin/nerdtree/path.vim b/plugin/nerdtree/path.vim @@ -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
