Skip to content

Enable by scope, not syntax file #1

@idleberg

Description

@idleberg

Currently, your plugin depends on certain syntax files, otherwise it won't work. Personally, I'm using “JavaScript Next” to highlight JavaScript files. I understand I could easily add JavaScript Next.sublime-syntax to the settings, but wouldn't it be better to check the scope (e.g. if scope.startswith('source.js')) rather than for a syntax file?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions