Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 086d5e1d5f87f7cdd0588f8149bf08115a8ae229 1 parent 0c9c83b
Kevin Watters authored
20  README.rst
Source Rendered
@@ -26,22 +26,24 @@ Quick Installation
26 26
 
27 27
 2. Download the latest release_.
28 28
 
29  
-3. Unzip ``pyflakes.vim`` and the ``pyflakes`` directory into
  29
+3. If you're using pathogen_, unzip the contents of ``pyflakes-vim.zip`` into
  30
+   its own bundle directory, i.e. into ``~/.vim/bundle/pyflakes-vim/``.
  31
+
  32
+   Otherwise unzip ``pyflakes.vim`` and the ``pyflakes`` directory into
30 33
    ``~/.vim/ftplugin/python`` (or somewhere similar on your
31 34
    `runtime path`_ that will be sourced for Python files).
32 35
 
33 36
 .. _release: http://www.vim.org/scripts/script.php?script_id=2441
  37
+.. _pathogen: http://www.vim.org/scripts/script.php?script_id=2332
34 38
 .. _runtime path: http://vimdoc.sourceforge.net/htmldoc/options.html#'runtimepath' 
35 39
 
36  
-Installation
37  
-------------
38  
-
39  
-If you downloaded this from vim.org_, then just drop the contents of the zip
40  
-file into ``~/.vim/ftplugin/python``.
  40
+Running from source
  41
+-------------------
41 42
 
42  
-Otherwise, if you're running "from source," you'll need PyFlakes on your
43  
-PYTHONPATH somewhere.  I recommend getting my PyFlakes_ fork, which retains
44  
-column number information, giving more specific error locations.
  43
+If you're running pyflakes-vim "from source," you'll need the PyFlakes library
  44
+on your PYTHONPATH somewhere.  (It is included in the vim.org zipfile.) I recommend
  45
+getting my PyFlakes_ fork, which retains column number information, giving more
  46
+specific error locations.
45 47
 
46 48
 .. _vim.org: http://www.vim.org/scripts/script.php?script_id=2441
47 49
 .. _PyFlakes: http://github.com/kevinw/pyflakes
0  pyflakes.vim → ftplugin/python/pyflakes.vim
File renamed without changes
3  makerelease.py
@@ -8,7 +8,8 @@
8 8
 BUNDLE_FILENAME = 'pyflakes-vim.zip'
9 9
 
10 10
 def get_directory():
11  
-    return os.path.abspath(os.path.dirname(__file__))
  11
+    return os.path.join(
  12
+        os.path.abspath(os.path.dirname(__file__)))
12 13
 
13 14
 def include_dir(d):
14 15
     return not any((d.startswith('.git'),

1 note on commit 086d5e1

jazeltq

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

Please sign in to comment.
Something went wrong with that request. Please try again.