public

DetextSyntac configuration

  • Download Gist
DetectSyntax.sublime-settings
JSON
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
{
// If you want exceptions reraised so you can see them in the console, change this to true.
"reraise_exceptions": false,
 
// If you want to have a syntax applied when new files are created, set new_file_syntax to the name of the syntax to use.
// The format is exactly the same as "name" in the rules below. For example, if you want to have a new file use
// JavaScript syntax, set new_file_syntax to 'JavaScript'.
"new_file_syntax": false,
 
// Put your custom syntax rules here:
"syntaxes": [
{
"name": "HTML",
"rules": [
{"file_name": ".*\\.(ejs)$"}
]
},
{
"name": "INI",
"rules": [
{"file_name": ".*\\.(editorconfig)$"}
]
},
{
"name": "JavaScript/JSON",
"rules": [
{"file_name": ".*\\.(jshintrc)$"}
]
}
]
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.