Phil Estival <p...@7d.nz> writes:

> I've been working with SQL Procedural Languages lately and I would like
> to known if it's possible to distinguish, inside of source blocks, the
> syntax coloring from the interpreter the source is to be run with.
>
> For instance, pl/python is run in sql-mode, what it is,
>
>  (add-to-list 'org-src-lang-modes '("pl/python" . sql))
>
> but colored as Python code?

No, it is not possible via user options. Org mode uses
`org-src-lang-modes' both for fontification and as major mode for
editing. To change that you may have to resort to advices.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to