I think between https://github.com/kana/vim-textobj-user/wiki and http://vim.wikia.com/wiki/Different_syntax_highlighting_within_regions_of_a_file you might find what you need. On January 13, 2016 at 12:01:11 PM, Jeff Jibson ([email protected]) wrote:
Does anyone know how or if it is possible to highlight nested languages in Vim? At work we I use m4 macros to generate files and chef (ruby template language) to generate files. Id like to have syntax highlighting of the language that generates the files and syntax highlighting of the generated file. /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */ /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
