autoload/splicelib/util/io.py @ 136a9256bec2

Plugin should work with Python 2 and 3 now.
author Stefan Scherfke <stefan@sofa-rockers.org>
date Thu, 05 Mar 2015 09:38:49 +0100
parents ddce69161ccb
children (none)
import sys
import vim


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

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