vim-python-pep8-indent icon indicating copy to clipboard operation
vim-python-pep8-indent copied to clipboard

A nicer Python indentation style for vim.

Results 20 vim-python-pep8-indent issues
Sort by recently updated
recently updated
newest added

A minimal example is as below. every step I only type `o` to trigger to indentation. ![Animation](https://user-images.githubusercontent.com/8842278/178414456-ee5584b4-eb38-4c29-ad98-dc19be4d6ad3.gif) ```python import logging # from: https://stackoverflow.com/a/56944256 class CustomFormatter(logging.Formatter): GREY = "\x1b[38;20m" YELLOW =...

The indent script `vim-python-pep8-indent/indent/python.vim` is never executed because the built-in runtime indent script [vim/runtime/indent/python.vim](https://github.com/vim/vim/blob/master/runtime/indent/python.vim) assigns 1 to the variable `b:did_indent`, which is the same variable that the indent plugin 'vim-python-pep8-indent'...

Hello, I'm struggling to install the plugin using the native Vim plugin manager, which seems to expect a structure like: ``` start --- config --- plugin --- xxx.vim ``` and...

While I haven't tested it enough to be sure it's the *right* way to accomplish what I want, I just modified the version of vim-python-pep8-indent that I got through [vim-polyglot](https://github.com/sheerun/vim-polyglot)...

A byte string like `b'{` with no `}` breaks `python-indent`, resulting in the following indentation: ```py def parse_license(license): if license.startswith(b'{'): print('json license') else: print('regular license') ``` This does not happen...

bug

This is the method I used to install, based on what I learned from https://github.com/dense-analysis/ale

Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/132. TODO: - [ ] performance impact? (initially skipped with https://github.com/Vimjas/vim-python-pep8-indent/pull/124) - [ ] test

Maybe my problem hast to do with my lack of understanding of the pep8 standards. So if I have a list of strings like this: ``` list_of_strings = ["Affy ID",...