Skip to content

Commit d735178

Browse files
committed
README: add Troubleshooting section
Fixes #75.
1 parent 19c53ee commit d735178

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ and::
2121
Installation
2222
------------
2323

24+
Install the plugin using your favorite plugin manager / method, a few examples
25+
follow:
2426

2527
Pathogen
2628
^^^^^^^^
@@ -101,6 +103,21 @@ With ``python_pep8_indent_hang_closing = 1``, closing brackets line up with the
101103
'd', 'e', 'f',
102104
)
103105

106+
107+
Troubleshooting
108+
---------------
109+
110+
In case it is not working, please make sure your Vim is configured to load
111+
indent files (``filetype indent on``).
112+
This is typically the case when using a plugin manager, but check its docs.
113+
114+
Check ``:verbose set indentexpr?`` in a Python file, which should show
115+
something like the following:
116+
117+
indentexpr=GetPythonPEPIndent(v:lnum)
118+
Last set from ~/…/plugged/vim-python-pep8-indent/indent/python.vim
119+
120+
104121
Notes
105122
-----
106123

0 commit comments

Comments
 (0)