Changing syntax based off panes

Hello All,
Is there any package that allows the syntax of a document to be different in different panes?

I tried multi-theme-applicator which gives different themes to different panes but unfortunately does not alter the syntax of those panes.