8000 snipMate cannot properly handle snippets that contain tags like "<+foobar+>" · Issue #1 · scrooloose/snipmate-snippets · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
snipMate cannot properly handle snippets that contain tags like "<+foobar+>"  #1
Open
@zed-0xff

Description

@zed-0xff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0