fix syntax error

This commit is contained in:
Martin Grenfell 2015-05-13 20:26:16 +01:00
parent 008b62f71c
commit 99fa465b5d

View File

@ -634,7 +634,7 @@ function! s:Path.str(...)
if has_key(self, '_strFor' . format) if has_key(self, '_strFor' . format)
exec 'let toReturn = self._strFor' . format . '()' exec 'let toReturn = self._strFor' . format . '()'
else else
raise 'NERDTree.UnknownFormatError: unknown format "'. format .'"' throw 'NERDTree.UnknownFormatError: unknown format "'. format .'"'
endif endif
else else
let toReturn = self._str() let toReturn = self._str()