Skip to content

Instantly share code, notes, and snippets.

@tbassetto
Created October 29, 2012 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbassetto/3972696 to your computer and use it in GitHub Desktop.
Save tbassetto/3972696 to your computer and use it in GitHub Desktop.
DetextSyntac configuration
{
// 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)$"}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment