Skip to content

Treesitter indent currently broken for Python #78

Description

@g2boojum

Describe the bug
Out of the box right now, using Treesitter's indentation w/ Python is broken. I've changed the treesitter config to read:
indent = { enable = true; disable = { "python" } }
which is not ideal, but breaking indentation for new users might be worse?

To Reproduce
Steps to reproduce the behavior:

  1. Open a python file w/ nvim. Open a line after a "def xxxx" line, and watch nvim not indent properly.

Desktop (please complete the following information):

  • OS: Linux
  • Terminal: kitty

** Neovim Version **

  • Output of running :version from inside of neovim:
    0.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions