Let's say I use abbrev to expand eq
into equation
.
Now I want eq
to always expand, except when followed by a colon (:
).
The logic is that in LaTeX I do not want equation identifiers (e.g., eq:xyz
) to be expanded.
Any ideas about how to selectively disable abbrev expansion?