nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 5ce5c6261170a61836a073041ba878b7b5ae6236
parent 3ebff6ae5497b29d5062270472a65294aad5a424
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Sun, 22 Jun 2008 00:19:28 +1200

dont ever escape paths when calling delete()

previously we were escaping when deleting files, and this was causing
the operation to fail

Diffstat:
Mplugin/NERD_tree.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1010,7 +1010,7 @@ function! s:oPath.Delete() dict
             throw "NERDTree.Path.Deletion Exception: Could not delete directory: '" . self.StrForOS(0) . "'"
         endif
     else
-        let success = delete(self.StrForOS(!s:running_windows))
+        let success = delete(self.StrForOS(0))
         if success != 0
             throw "NERDTree.Path.Deletion Exception: Could not delete file: '" . self.Str(0) . "'"
         endif