+3
Change syntax highlighting rules to match file names instead of file extensions.
This allows for contextual differences for files of the same language type, and should still make it easy for the current, more general file extension matching to continue working as it does.
For example:
{
"*_spec.rb" : "RSpec",
"*_steps.rb" : "Cucumber Steps",
"*.rb" : "Ruby"
}
0
Louis Galipeau 11 jaar geleden
There is this https://github.com/bmc/ST2SyntaxFromFileName
0
Louis Galipeau 11 jaar geleden
And https://github.com/facelessuser/ApplySyntax
Customer support service by UserEcho