diff --git a/docs/source/overview.rst b/docs/source/overview.rst index 6509dfd5..2d2883e9 100644 --- a/docs/source/overview.rst +++ b/docs/source/overview.rst @@ -114,7 +114,7 @@ to the plugin location. Add the following line to your ``vimrc``, where ``{path}`` is the path to the main Powerline project directory:: - source {path}/powerline/bindings/vim/source_plugin.vim + source {path}/powerline/bindings/vim/plugin/source_plugin.vim Terminal prompts ^^^^^^^^^^^^^^^^ diff --git a/powerline/bindings/vim/source_plugin.vim b/powerline/bindings/vim/plugin/source_plugin.vim similarity index 69% rename from powerline/bindings/vim/source_plugin.vim rename to powerline/bindings/vim/plugin/source_plugin.vim index 84be659e..543f9dd8 100644 --- a/powerline/bindings/vim/source_plugin.vim +++ b/powerline/bindings/vim/plugin/source_plugin.vim @@ -6,6 +6,6 @@ if ! has('python') endif python import sys, vim -python sys.path.append(vim.eval('expand(":h:h:h:h")')) +python sys.path.append(vim.eval('expand(":h:h:h:h:h")')) -source :h/powerline.vim +source :h:h/powerline.vim