tree-sitter / tree-sitter-python

Python grammar for tree-sitter
MIT License
372 stars 138 forks source link

Extra indent when using an open bracket/parenthesis in string literal #237

Closed ValouBambou closed 1 year ago

ValouBambou commented 1 year ago

Hi, I noticed a weird behavior with indentation using python in neovim, extra indent are inserted in every new line that follow a literal string with unclosed parenthesis or bracket.

print("Hello(")
    # new line start here
amaanq commented 1 year ago

belongs at nvim-treesitter