Tuesday, November 26, 2013

how to omit vim's error message when writing script using python?

for example:

try:
vim.eval("match('aaa','\{')")
except vim.error:
pass

error message E866&E64 can still be displayed.

is it a bug?

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment