Before deleting, turn off &shellslash. Restore after delete is done.
This commit is contained in:
parent
cce52fb9c5
commit
842f5cabaa
@ -202,6 +202,8 @@ endfunction
|
||||
|
||||
" FUNCTION: NERDTreeDeleteNode() {{{1
|
||||
function! NERDTreeDeleteNode()
|
||||
let l:shellslash = &shellslash
|
||||
let &shellslash = 0
|
||||
let currentNode = g:NERDTreeFileNode.GetSelected()
|
||||
let confirmed = 0
|
||||
|
||||
@ -242,7 +244,7 @@ function! NERDTreeDeleteNode()
|
||||
else
|
||||
call nerdtree#echo("delete aborted")
|
||||
endif
|
||||
|
||||
let &shellslash = l:shellslash
|
||||
endfunction
|
||||
|
||||
" FUNCTION: NERDTreeListNode() {{{1
|
||||
|
Loading…
Reference in New Issue
Block a user