Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update formatting

  • Loading branch information...
commit 3f93a35ecb162377330f4d95ac4ee0f2b6ff6407 1 parent b57d477
@ccampbell authored
Showing with 32 additions and 22 deletions.
  1. +32 −22 js/language/smalltalk.js
View
54 js/language/smalltalk.js
@@ -5,38 +5,48 @@
* @version 1.0
*/
Rainbow.extend('smalltalk', [
- {'name': 'keyword.pseudovariable',
- 'pattern': /self|thisContext/g
+ {
+ 'name': 'keyword.pseudovariable',
+ 'pattern': /self|thisContext/g
},
- {'name': 'keyword.constant',
- 'pattern': /false|nil|true/g
+ {
+ 'name': 'keyword.constant',
+ 'pattern': /false|nil|true/g
},
- {'name': 'string',
- 'pattern': /'([^']|'')*'/g
+ {
+ 'name': 'string',
+ 'pattern': /'([^']|'')*'/g
},
- {'name': 'string.symbol',
- 'pattern': /#\w+|#'([^']|'')*'/g
+ {
+ 'name': 'string.symbol',
+ 'pattern': /#\w+|#'([^']|'')*'/g
},
- {'name': 'string.character',
- 'pattern': /\$\w+/g
+ {
+ 'name': 'string.character',
+ 'pattern': /\$\w+/g
},
{
- 'name': 'comment',
- "pattern": /"([^"]|"")*"/g
+ 'name': 'comment',
+ 'pattern': /"([^"]|"")*"/g
},
- {'name': 'constant.numeric',
- 'pattern': /-?\d+(\.\d+)?((r-?|s)[A-Za-z0-9]+|e-?[0-9]+)?/g
+ {
+ 'name': 'constant.numeric',
+ 'pattern': /-?\d+(\.\d+)?((r-?|s)[A-Za-z0-9]+|e-?[0-9]+)?/g
},
- {'name': 'entity.name.class',
- 'pattern': /\b[A-Z]\w*/g
+ {
+ 'name': 'entity.name.class',
+ 'pattern': /\b[A-Z]\w*/g
},
- {'name': 'entity.name.function',
- 'pattern': /\b[a-z]\w*:?/g
+ {
+ 'name': 'entity.name.function',
+ 'pattern': /\b[a-z]\w*:?/g
},
- {'name': 'entity.name.binary',
- 'pattern': /(<|>|&|[=~\|\\\/!@*\-_+])+/g
+ {
+ 'name': 'entity.name.binary',
+ 'pattern': /(<|>|&|[=~\|\\\/!@*\-_+])+/g
},
- {'name': 'operator.delimiter',
- 'pattern': /;[\(\)\[\]\{\}]|#\[|#\(^\./g
+ {
+ 'name': 'operator.delimiter',
+ 'pattern': /;[\(\)\[\]\{\}]|#\[|#\(^\./g
}
], true);
Please sign in to comment.
Something went wrong with that request. Please try again.