Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polymode does not work in org-edit-special #330

Open
guibor opened this issue Jul 13, 2023 · 0 comments
Open

Polymode does not work in org-edit-special #330

guibor opened this issue Jul 13, 2023 · 0 comments

Comments

@guibor
Copy link

guibor commented Jul 13, 2023

I use (add-hook 'python-mode-hook 'poly-python-sql-mode) where poly-python-sql-mode is a special polymode that correctly highlights SQL queries that are used within strings in a Python file.

When this is used, and I use org-edit-special on a Python block there is no host-mode syntax highlighting in the Python buffer. Only the inner-modes have syntax highlighting. So the SQL is highlighted, but the Python is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant