delimitMate
delimitMate copied to clipboard
Handle escaped quotes
Currently, if I type (in insert mode) "some text
, delimitMate helpfully makes it "some text"
.
However, if I type "text \" with an escaped quote
, delimitMate sees the quote, doesn't recognize the backslash, and fails to keep the ending quote: I need to type it myself.
It would be great if delimitMate handled escaped quotes. An appropriate rule might be, when a quote is typed in a string before an existing quote mark, insert "
iff there are an odd number of backslashes.