ddce69161ccb

Add a utility for echoing in the IO utils.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 12 Dec 2012 12:52:06 -0500
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)