Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zed-0xff opened this issue Aug 26, 2009 · 2 comments

Comments

@zed-0xff
Copy link

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
Copy link

jess commented Dec 10, 2010

it's doing the same thing on macvim

@sagebomb
Copy link

sagebomb commented Sep 3, 2011

Same problem. How will fix it?

code-later pushed a commit to code-later/snipmate-snippets that referenced this issue Nov 3, 2011
.tex recomendation : no change fold marker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants