scrooloose / snipmate-snippets

A collection of snippets for snipmate
533 stars 245 forks source link

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

Open zed-0xff opened 14 years ago

zed-0xff commented 14 years ago

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

jess commented 13 years ago

it's doing the same thing on macvim

sagebomb commented 12 years ago

Same problem. How will fix it?