mattn / vim-sonictemplate

Easy and high speed coding method
http://mattn.github.com/vim-sonictemplate
333 stars 42 forks source link

Fix missing backslash escape at postfix and add some postfix patterns #30

Closed Jagua closed 5 years ago

Jagua commented 5 years ago

When writing in Go, type the following code,

"AA\nBB".log

and hits <C-y><C-b>, then got the following result.

log.Println("AA
BB")

but want this.

log.Println("AA\nBB")

This PR fixes this.

mattn commented 5 years ago

Thank you