Monday, January 13, 2014

What's a good way to use both html and eruby snippets in an ERB file?

I just started using Ultisnips, and when editing an ERB file, I have access to the eruby snippets but not the html snippets, which I'm likely to need in the same file. What's the best way to handle this?

I would think you'd want both types of snippets enabled, but maybe I should just rig up a way to easily toggle between two filetype settings and use that as a workaround.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment