Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bugfix for :NERDTree when a file bookmark is given

  • Loading branch information...
commit b60bcb6cb242b1d3d5184646bf18fec2d48616b0 1 parent f7e8c45
@scrooloose authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugin/NERD_tree.vim
View
6 plugin/NERD_tree.vim
@@ -1467,9 +1467,9 @@ function! s:InitNerdTree(name)
call s:Echo("No bookmark or directory found for: " . a:name)
return
endtry
- if !path.isDirectory
- let path = path.GetParent()
- endif
+ endif
+ if !path.isDirectory
+ let path = path.GetParent()
endif
"if instructed to, then change the vim CWD to the dir the NERDTree is
Please sign in to comment.
Something went wrong with that request. Please try again.