snipmate-snippets icon indicating copy to clipboard operation
snipmate-snippets copied to clipboard

snipMate cannot properly handle snippets that contain tags like "<+foobar+>"

Open zed-0xff opened this issue 15 years ago • 2 comments

example is "va.snippet": "validates_associated :<+attribute+><+, :on => :<+:create+>+>" so, if I write "va" in my VIM - this "va" expands to "validates_associated :<+attribute+><+, :on => :<+:create+>+>", but cursor is at the end of line, and there's no navigation by fields on tab or C-j

Hovewer, snippets like "sweeper.snippet" are working well.

I use vim 7.2.182, Linux, and latest of scrooloose/snipmate-snippets and scrooloose/vimfiles.

I tried to solve this myself, and found that there's doc/imaps.txt document, but no plugin/imaps.vim, googled for that, put it into plugin/ and even got some example IMAPS with "<+...+>" working, but snipMate behavior is still the same. It ignores presence of imaps.vim

zed-0xff avatar Aug 26 '09 12:08 zed-0xff

it's doing the same thing on macvim

jess avatar Dec 10 '10 11:12 jess

Same problem. How will fix it?

sagebomb avatar Sep 03 '11 21:09 sagebomb