import sys


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

import sys
import vim


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

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

Add a utility for echoing in the IO utils.
Add a utility for echoing in the IO utils.

  import sys
+ import vim
  
  
  def error(m):
      sys.stderr.write(str(m) + '\n')
  
+ def echomsg(m):
+     vim.command('echomsg "%s"' % m)
+ 
Add a utility for echoing in the IO utils.
## Code Before:
import sys


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

## Instruction:
Add a utility for echoing in the IO utils.
## Code After:
import sys
import vim


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

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