sublime-project-specific-syntax
sublime-project-specific-syntax copied to clipboard
Support override by executable bit of a file access mask
I want to be able to mark all executable files in my ~/bin
directory as Bash:
{
"folders":
[
{
"path": ".",
}
],
"syntax_override": {
"mask 700": ["ShellScript", "Shell-Unix-Generic"]
}
}
Not sure how to make config work well given that keys are already used for path masks or how to combine file path and executable bit mask.
Useless feature because an executable file can be in any language, binary/bash/perl/python/etc Advice close as wont-fix...
It's a useful feature if your project only contains one type of executable, especially in the case of shell scripts since many people don't use file extensions with them.