forked from wzdf1982/DetectSyntax
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
T: featureFeature.Feature.
Description
While trying to figure out why my rule didn't work and eventually setting "debug": true, I noticed the following on the console:
ApplySyntax: Syntax file for Bash does not exist at Packages/Shellscript/Bash.sublime-syntax
In my opinion, this is not the kind of message that should require to enable debug mode to be visible. Note that I'm only using custom rules and none of the defaults, but even then I still believe such a message could be useful to see every once in a while for people who do not have the third-party syntax installed that the default configuration wants to set.
For multiple syntaxes ina rule, this should only report whether each syntax can be found either in debug mode or when none of them could be found.
My rule, for comparison:
{
"syntax": "Shellscript/Bash",
"rules": [
{"file_path": ".*/\\.env(\\.[^/]*)?$"},
]
},
(must be ShellScript)
michaelblyons
Metadata
Metadata
Assignees
Labels
T: featureFeature.Feature.