Add a utility for echoing in the IO utils.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 12 Dec 2012 12:52:06 -0500 (2012-12-12) |
parents |
e73227e8f1f9
|
children |
79d68c4332bf
|
branches/tags |
(none) |
files |
autoload/splicelib/util/io.py |
Changes
--- a/autoload/splicelib/util/io.py Wed Dec 12 12:51:15 2012 -0500
+++ b/autoload/splicelib/util/io.py Wed Dec 12 12:52:06 2012 -0500
@@ -1,5 +1,9 @@
import sys
+import vim
def error(m):
sys.stderr.write(str(m) + '\n')
+
+def echomsg(m):
+ vim.command('echomsg "%s"' % m)