I didn’t want to start a new thread, but I have the same question. Rather than specifying file_extensions
in the syntax file, I would like the to specify a full file-name.
In my case, I would like to write a syntax-file matching installer.cfg
files, which basically imports all rules from .cfg
/ .ini
, but has some special rules unique.
My Sublime Text setup differentiates JavaScript from JavaScript (Gulpfile), so it seems it’s possible. I have already searched the sources for the default JavaScript package and the Babel package (the only JavaScript packages I have installed). Unfortunately, I haven’t found anything pointing me to how this could be done.