commit 1654ef820b7ec68eed896bf8d04ed6574269b2f5 parent df3485ec648d6e6a29b940b39fcbfb4f0404bf51 Author: marty <marty@rodney.(none)> Date: Wed, 12 Aug 2009 01:14:15 +1200 remove some redundant code Diffstat:
| M | plugin/NERD_tree.vim | | | 8 | +------- |
1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim @@ -1739,13 +1739,7 @@ endfunction function! s:Path.delete() if self.isDirectory - let cmd = "" - if s:running_windows - "if we are runnnig windows then put quotes around the pathstring - let cmd = g:NERDTreeRemoveDirCmd . self.strForOS(1) - else - let cmd = g:NERDTreeRemoveDirCmd . self.strForOS(1) - endif + let cmd = g:NERDTreeRemoveDirCmd . self.strForOS(1) let success = system(cmd) if v:shell_error != 0
