plugin/threesome.py @ 0a0ec65f5e57

Skeleton.
author Steve Losh <steve@stevelosh.com>
date Sun, 12 Jun 2011 20:12:48 -0400
parents ee71fd579f4f
children adb7e3942b34
import vim, os, sys

# Add the library to the Python path.
for p in vim.eval("&runtimepath").split(','):
   plugin_dir = os.path.join(p, "plugin")
   if os.path.exists(os.path.join(plugin_dir, "threesomelib")):
      if plugin_dir not in sys.path:
         sys.path.append(plugin_dir)
      break

def ThreesomeInit():
    from threesomelib.init import init
    init()