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() {{{1
|
||||||
function! NERDTreeDeleteNode()
|
function! NERDTreeDeleteNode()
|
||||||
|
let l:shellslash = &shellslash
|
||||||
|
let &shellslash = 0
|
||||||
let currentNode = g:NERDTreeFileNode.GetSelected()
|
let currentNode = g:NERDTreeFileNode.GetSelected()
|
||||||
let confirmed = 0
|
let confirmed = 0
|
||||||
|
|
||||||
@ -242,7 +244,7 @@ function! NERDTreeDeleteNode()
|
|||||||
else
|
else
|
||||||
call nerdtree#echo("delete aborted")
|
call nerdtree#echo("delete aborted")
|
||||||
endif
|
endif
|
||||||
|
let &shellslash = l:shellslash
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" FUNCTION: NERDTreeListNode() {{{1
|
" FUNCTION: NERDTreeListNode() {{{1
|
||||||
|
Loading…
Reference in New Issue
Block a user