Dear all,
Iâm developing a plugin which is an add-on to an existing syntax, letâs say Ruby. My plugin has its own directory (so that it can easily be distributed), and defines also tmLanguage and tmTheme files because it uses the output panel and I want to stylize it.
Unfortunately, it shows up as an item in the syntax selection list, but I do not want to show it as it has no syntax (which is defined in the proper Ruby.tmLanguage file).
The questions are:
-
what is the best way to âextendâ and existing syntax definition?
-
Shall i use âsource.rubyâ as scopeName?
-
How can I hide this plugin from the available syntaxes?
-
How can I ensure that my pluginâs commands are only called if within the source.ruby scope?
Thank you so much to any kind soul who will take the time to give me some insights ^^_
Cheers,
r.