-
Notifications
You must be signed in to change notification settings - Fork 2k
Tex: de-duplicate ultisnips snippets already defined in snipmate format #1505
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
Conversation
Question: is there value in making sure the ultisnip and snippets commands are the same. Or, on the contrary, is there a reason to make sure they're not the same? |
The ultisnips ones should be removed- they should only exist for specific snippets that cannot be implemented using the snipmate format. |
Aha, right. I hadn't realised that. I'll update the PR now. Could this please be documented in the Readme under a "contributing" section perhaps, just so future contributors know? |
It is already documented, but improvements to the README are welcome. |
Remove from ultisnips those that are already defined in snipmate format
since UltiSnips supports both
970948f
to
2220b4b
Compare
Updated to remove UltiSnip snippets that are already defined in the snipmate format. I couldn't find where in the docs it says to prefer snipmat since UltiSnips can also read them, so I've added a line in the Readme. |
|
||
snippet chapl "Chapter with label" wi | ||
\chapter{$1${VISUAL}} | ||
\label{cha:${2:${1/\W+/-/g}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are already defined in snipmate, so I removed them, but the labels here are more advanced, so we could leave these in as UltiSnips specific overrides.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
No description provided.