Skip to content

Different settings for different syntaxes? Or disable in certain scopes? #88

Description

@sricks

I'd like to have word highlighting in most file types, but not in markdown. Or ideally: in Markdown but with a longer delay.

Potential fix: per-syntax settings overrides in WordHighlight.

Otherwise, it may still be useful to contextually disable the highlight in specific scopes like maybe comment scopes within a code file where you do want highlighting everywhere else.

I have this color scheme rule, but for some reason it still applies in text.html.markdown scopes:

		{
			"name": "WordHighlight",
			"scope": "wordhighlight - text.html.markdown",
			"background":		 "var(orange3)",
			"foreground": "var(black)",
                }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions