-
Notifications
You must be signed in to change notification settings - Fork 181
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
Introduce triple bang syntax to remove triggers #218
base: master
Are you sure you want to change the base?
Conversation
Of course, this could be "solved" by forking the snippets repo, but #214 was solved in the same way of adding features to snipmate, so I think this is warranted. |
@somini I'm not against merging this, but I want to make sure I understand the intention first. Can you provide a detailed scenario (ideally with some sample file structure and snippets) of what you're trying to achieve? My understanding is that if you're editing, say, your personal |
My use case when I created this was the following: https://github.com/honza/vim-snippets/blob/master/snippets/python.snippets#L94-L121 https://github.com/honza/vim-snippets/blob/master/snippets/htmldjango.snippets#L41-L44 As for your comments, the assumptions are correct: |
@somini Sorry for the really late response! The format of the I'm hoping to spend more time on SnipMate in the coming weeks, so I can hopefully get this sorted once I finish up the work on #207. |
Rebased this onto the latest master. |
In a snippets file, `snippet!!! foo` will remove the trigger from the current lookup for the current context. Load order still matters. This is useful to override a series of triggers with different descriptions, and turn that into a single trigger, so that you don't have to choose.
Rebased this onto the latest master. |
In a snippets file,
snippet!!! foo
will remove the trigger from thecurrent lookup for the current context. Load order still matters.
This is useful to override a series of triggers with different
descriptions, and turn that into a single trigger, so that you don't
have to choose.
Similar, but different to #214.