I made my own “color scheme” but only for one file type, and I defined my own scopes and colors for it. I want to have a main color scheme active (e.g. Mariana) but extend it with my own scheme.
What works for a specific scheme is placing my color scheme’s .sublime-color-scheme
file into a subfolder in /Packages/
and renaming it to the current schemes name, e.g. Mariana.sublime-color-scheme
- this applies Mariana first, and then adds my own scopes and colors on top.
But I want to turn this into an installable package eventually, so I want my extension to be applied to whichever scheme is currently active, without having to rename my .sublime-color-scheme
file every time I change schemes. Can Sublime do this? If not, can I make my package rename the custom file upon every color scheme change?