Sublime Forum

Set syntax of a file at a specific context

#1

Is it possible to set a syntax for a view to a particular context like:

settings.set('syntax', "MySyntax.sublime-syntax#context")

I know you can do include: "another.sublime-syntax#context" inside a syntax file,
but it doesn’t seem to work with the “syntax” setting.

1 Like

#2

also potentially relevant:

1 Like