Yegappan wrote:
> Using Vim 8.2.1805, an exception thrown by readdirex() is not caught by
> a try-catch statement:
>
> try
> let files = "non-existing-dir"->readdirex()
> catch
> echo "caught an exception"
> endtry
>
> This works in older versions of Vim (8.1.2292).
This uses smsg() instead of semsg(). I'll fix it.