mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
fix a typo
This commit is contained in:
@@ -1670,7 +1670,7 @@ function! s:initNerdTree(name)
|
|||||||
else
|
else
|
||||||
let dir = a:name == '' ? getcwd() : a:name
|
let dir = a:name == '' ? getcwd() : a:name
|
||||||
|
|
||||||
"hack to get an absolute path is a relative path is given
|
"hack to get an absolute path if a relative path is given
|
||||||
if dir =~ '^\.'
|
if dir =~ '^\.'
|
||||||
let dir = getcwd() . s:os_slash . dir
|
let dir = getcwd() . s:os_slash . dir
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user