Skip to content

Commit

Permalink
bugfix: escape filenames for ":edit"ing
Browse files Browse the repository at this point in the history
  • Loading branch information
marty committed Oct 9, 2009
1 parent 94e085f commit 08bc987
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/NERD_tree.vim
Expand Up @@ -2268,6 +2268,8 @@ function! s:Path._strForEdit()
let cwd = tolower(getcwd())
endif

let p = escape(p, s:escape_chars)

let cwd = cwd . s:Path.Slash()

"return a relative path if we can
Expand Down

0 comments on commit 08bc987

Please sign in to comment.