mattn / vim-sonictemplate

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

The struct postfix of go have problem #45

Closed glepnir closed 4 years ago

glepnir commented 4 years ago

The pattern.stpl of struct is

\(\S\+\)\.struct$
    type {{$1}} struct {
        {{_cursor_}}
    }

But when i type person.struct, I got this. | mean cursor.

type person struct{
      struct|
}
glepnir commented 4 years ago

never mind. works fine..