Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

markdown scope overrides JS #3

Open
toppsdown opened this issue Sep 2, 2021 · 0 comments
Open

markdown scope overrides JS #3

toppsdown opened this issue Sep 2, 2021 · 0 comments

Comments

@toppsdown
Copy link

Hey there, I'm new to Sublime syntax settings so apologies for my ignorance.

I'm trying to get this syntax highlighting but sublime is acting strange. The - include: scope:text.html.markdown is overriding most of the other settings.

Example:
With: - include: scope:text.html.markdown
image

Without: - include: scope:text.html.markdown
image

I tried changing the order, but then it overrides even more of the settings.

contexts:
  main:
    - include: scope:text.html.markdown
    - include: core

I've tried reading the sublime documentation but I don't see anything that describes precedence or ordering of scopes.

Thanks in advance!

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

No branches or pull requests

1 participant