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

[Python] Enable meta_prepend / meta_append usage. #3462

Closed
gnat opened this issue Aug 5, 2022 · 1 comment · Fixed by #3532
Closed

[Python] Enable meta_prepend / meta_append usage. #3462

gnat opened this issue Aug 5, 2022 · 1 comment · Fixed by #3532
Assignees
Labels
C: Syntax T: enhancement Improvement of existing language features

Comments

@gnat
Copy link

gnat commented Aug 5, 2022

What happened?

Currently my HTML highlighter plugin overrides the SQL highlighter 😢 which is unfortunate. Discord says we need support for meta_prepend and meta_append for Python.

https://discord.com/channels/280102180189634562/280102180189634562/1005140944565321848

Ideally I would love to see HTML in Python added to core, but enabling meta_prepend and meta_append would be fine in the interim.

https://github.com/gnat/sublime-python-html

183111942-9d6e8dc7-6b82-47fb-9492-07d25ffc6523

@gnat gnat added the T: bug A bug in an existing language feature label Aug 5, 2022
@michaelblyons michaelblyons added T: enhancement Improvement of existing language features and removed T: bug A bug in an existing language feature labels Aug 5, 2022
@michaelblyons
Copy link
Collaborator

The change here is to make the context(s) pushed for strings with special highlighting into a named context instead of an anonymous one, so extendsed syntaxes can add additional special cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Syntax T: enhancement Improvement of existing language features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants