Highlighting unmatched brackets in vim

后端 未结 7 438
感动是毒
感动是毒 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条回答
  • 2020-12-29 10:24

    Stop gap solution:

    :imap ( ()<C-[>i
    

    This will make it so every time you type a left paren it will automatically put in the right and put you in the position of typing in between.

    0 讨论(0)
提交回复
热议问题