From: Daniel Hahler Date: Sun, 15 Jul 2018 19:31:38 +0000 (+0200) Subject: README: add Troubleshooting section X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d735178838c7122c7540aca05bcfb94005a3abe9?ds=inline README: add Troubleshooting section Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/75. --- diff --git a/README.rst b/README.rst index ada507e..b8eb2ac 100644 --- a/README.rst +++ b/README.rst @@ -21,6 +21,8 @@ and:: Installation ------------ +Install the plugin using your favorite plugin manager / method, a few examples +follow: Pathogen ^^^^^^^^ @@ -101,6 +103,21 @@ With ``python_pep8_indent_hang_closing = 1``, closing brackets line up with the 'd', 'e', 'f', ) + +Troubleshooting +--------------- + +In case it is not working, please make sure your Vim is configured to load +indent files (``filetype indent on``). +This is typically the case when using a plugin manager, but check its docs. + +Check ``:verbose set indentexpr?`` in a Python file, which should show +something like the following: + + indentexpr=GetPythonPEPIndent(v:lnum) + Last set from ~/…/plugged/vim-python-pep8-indent/indent/python.vim + + Notes -----