Highlighting unmatched brackets in vim

后端 未结 7 473
感动是毒
感动是毒 2020-12-29 09:18

I\'m getting burned repeatedly by unmatched parentheses while writing python code in vim. I like how they\'re handled for C code - vim highlights in red all of the curly br

7条回答
  •  旧时难觅i
    2020-12-29 10:17

    As a workaround, I found this indent script on the vim website that supposedly does a better job of indenting Python code. When you end a line with unbalanced parens, it indents the next line to line up with the open paren.

提交回复
热议问题