Use absolute import in source_plugin.vim

Refs #95.
This commit is contained in:
Kim Silkebækken 2013-01-22 13:20:26 +01:00
parent 292d5313e2
commit b7e7b1e4f7
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ if ! has('python') && ! has('python3')
endif
python <<EOF
from __future__ import absolute_import
import sys, vim
sys.path.append(vim.eval('expand("<sfile>:h:h:h:h:h")'))
from powerline.bindings.vim import source_plugin