Fixed error output

* `:throw` can not throws "Vim" exception.
This commit is contained in:
Milly
2021-10-09 00:44:45 +09:00
parent 4d4aa5fe55
commit 82336eaa89

View File

@@ -9,7 +9,8 @@ func! TestFiletype(filetype)
exec ":bw!"
catch
echo 'Failed to load ' . a:filetype . ' filetype...'
throw v:exception
echo v:throwpoint
echo v:exception
cq!
endtry
endfunc