glyph / python-docstring-mode

Emacs minor-mode for editing Python docstrings.
MIT License
70 stars 22 forks source link

support nested lists #1

Closed glyph closed 2 years ago

glyph commented 9 years ago

right now python-docstring-mode thinks

- this
   - and this

are bullets at the same indentation level and reflows them accordingly. this should be fixed.

glyph commented 2 years ago

Not sure exactly when this was fixed, but this:

def fun(a):
    """
    - this
      - and this
    """

now correctly reflows to this:

def fun(a):
    """
        - this

            - and this
    """