Remove an unnecessary "else" clause

This commit is contained in:
Jason Franklin 2017-11-11 08:34:29 -05:00
parent f0a97209f1
commit 26168324fc

View File

@ -233,11 +233,13 @@ endfunction
" FUNCTION: Opener.open(target) {{{1
function! s:Opener.open(target)
if self._path.isDirectory
call self._openDirectory(a:target)
else
call self._openFile()
return
endif
call self._openFile()
endfunction
" FUNCTION: Opener._openFile() {{{1