Sublime Forum

Include $self to also include super definitions

#1

Hi there,

Is there a way to make the “include”:"$self" directive to also include parent definitions?

E.g. you have a pattern file that marks special character groups (let’s say “%Variable”) and wants to make use of shell highlighting in certain areas.

Thus when you use the “%Variable” pattern somewhere inside a shell-loop it will not be recognised. As the shell loop has a “include”:"$self" directive inside the begin:loop end:loop directive, but this obviously only inherits source.shell and not in addition my syntax rules.

any idea?

0 Likes

#2

Is there someone out there reading this post?

0 Likes