Craft-Twig.tmbundle
Craft-Twig.tmbundle copied to clipboard
Extend "dd" into {% dd %} twig Tag
Now when we type dd
and press TAB, it extends into <dd></dd>
which is pretty niche HTML tag. I much more often use Craft {% dd %}
.
I can recreate this. Perhaps a more recent version of Sublime adds a similar trigger to the default HTML snippets. I'll look into this when I can but can't promise a timeline.
Feel free to submit a PR if you figure it out. At the time I built this out, I did try to document what I had learned about working with language grammars: https://benparizek.com/notebook/notes-on-how-to-create-a-language-grammar-and-custom-theme-for-a-textmate-bundle