A pattern I've seen a few times: ```cc R"javascript( let a = 1; )javascript"; ``` Behaviour in a similar vein is vim-markdown highlighting code in codeblocks and vim-html highlighting javascript in `<script>` tags.