Skip to content

Instantly share code, notes, and snippets.

@spiashko
Last active October 3, 2020 16:21
Show Gist options
  • Save spiashko/29fa12e611a1f0a679c4dda5bd6d920d to your computer and use it in GitHub Desktop.
Save spiashko/29fa12e611a1f0a679c4dda5bd6d920d to your computer and use it in GitHub Desktop.
<LanguageInjectionConfiguration>
<injection language="PostgreSQL" injector-id="xml">
<display-name>postgres sql highlight</display-name>
<place><![CDATA[xmlTag().withLocalName(string().matches(".*"))]]></place>
<xpath-condition>parent::*/comment()[. = 'postgres sql highlight']</xpath-condition>
</injection>
</LanguageInjectionConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment