Thursday, February 11, 2016

syn include with different background color

hi,

in my template engine i use regions of {$ $} to embed ruby

in my syntax file i have

...
syntax include @Ruby syntax/ruby.vim

syn region mcoCode matchgroup=mcoCurlyDollar start=/{\$/ end=/\$}/ contains=@Ruby

HiLink mcoCurlyDollar Delimiter
...

it works fine, but i would like to have a different background color for
the entire {$ $} region of ruby code (but otherwise using the default ruby
syntax highlighting)

any ideas?



--
--
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/d/optout.

No comments: