Browse files

Move pyflakes.vim into ftplugin/python for pathogen compatibility.

  • Loading branch information...
1 parent 0c9c83b commit 086d5e1d5f87f7cdd0588f8149bf08115a8ae229 @kevinw committed Nov 30, 2010
Showing with 13 additions and 10 deletions.
  1. +11 −9 README.rst
  2. 0 { → ftplugin/python}/pyflakes.vim
  3. +2 −1
@@ -26,22 +26,24 @@ Quick Installation
2. Download the latest release_.
-3. Unzip ``pyflakes.vim`` and the ``pyflakes`` directory into
+3. If you're using pathogen_, unzip the contents of ```` into
+ its own bundle directory, i.e. into ``~/.vim/bundle/pyflakes-vim/``.
+ Otherwise unzip ``pyflakes.vim`` and the ``pyflakes`` directory into
``~/.vim/ftplugin/python`` (or somewhere similar on your
`runtime path`_ that will be sourced for Python files).
.. _release:
+.. _pathogen:
.. _runtime path:'runtimepath'
-If you downloaded this from vim.org_, then just drop the contents of the zip
-file into ``~/.vim/ftplugin/python``.
+Running from source
-Otherwise, if you're running "from source," you'll need PyFlakes on your
-PYTHONPATH somewhere. I recommend getting my PyFlakes_ fork, which retains
-column number information, giving more specific error locations.
+If you're running pyflakes-vim "from source," you'll need the PyFlakes library
+on your PYTHONPATH somewhere. (It is included in the zipfile.) I recommend
+getting my PyFlakes_ fork, which retains column number information, giving more
+specific error locations.
.. _PyFlakes:
File renamed without changes.
@@ -8,7 +8,8 @@
def get_directory():
- return os.path.abspath(os.path.dirname(__file__))
+ return os.path.join(
+ os.path.abspath(os.path.dirname(__file__)))
def include_dir(d):
return not any((d.startswith('.git'),

1 comment on commit 086d5e1


please write clearly how to install pyflakes in my box, i have no idear what u are saying

Please sign in to comment.