mirror of
https://github.com/preservim/nerdtree.git
synced 2024-10-18 22:00:21 +03:00
Remove an unnecessary "else" clause
This commit is contained in:
parent
f0a97209f1
commit
26168324fc
@ -233,11 +233,13 @@ endfunction
|
|||||||
|
|
||||||
" FUNCTION: Opener.open(target) {{{1
|
" FUNCTION: Opener.open(target) {{{1
|
||||||
function! s:Opener.open(target)
|
function! s:Opener.open(target)
|
||||||
|
|
||||||
if self._path.isDirectory
|
if self._path.isDirectory
|
||||||
call self._openDirectory(a:target)
|
call self._openDirectory(a:target)
|
||||||
else
|
return
|
||||||
call self._openFile()
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
call self._openFile()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" FUNCTION: Opener._openFile() {{{1
|
" FUNCTION: Opener._openFile() {{{1
|
||||||
|
Loading…
Reference in New Issue
Block a user