Hello, I would like to display one of vim's in-built error messages from a script. For example, "E347: No more file "filename" found in path". I could just use :echoerr, but then the string wouldn't be localised if people are using translated versions of vim, and if the text of E347 were ever to change I'd have to update my plugin if I wanted to match it.
I've looked through the documentation but most of what I could find seemed just to be summaries of existing error messages rather than ways of displaying them or extracting their text. Is there any way to print an error based on its message ID (E347 in this case)? Any pointers greatly appreciated, Dani. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
