autoload/splicelib/util/io.py @ ddce69161ccb

Add a utility for echoing in the IO utils.
author Steve Losh <steve@stevelosh.com>
date Wed, 12 Dec 2012 12:52:06 -0500
parents 0013f7e01b6e
children (none)
import sys
import vim


def error(m):
    sys.stderr.write(str(m) + '\n')

def echomsg(m):
    vim.command('echomsg "%s"' % m)