Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use proper word boundaries for keywords

  • Loading branch information...
commit e6032722ee1b7ce0cf952853a0e21515a34db62f 1 parent 179bc49
@creationix authored
View
4 Jack.tmBundle/Jack.JSON-tmLanguage
@@ -9,7 +9,7 @@
"match": ";"
},
{ "name": "keyword.control",
- "match": "(return|if|elif|else|while|for|in)(?![a-zA-Z0-9_-])"
+ "match": "(abort|return|if|elif|else|while|for|in)(?![a-zA-Z0-9_-])"
},
{ "name": "keyword.language",
"match": "(vars|delete|is)(?![a-zA-Z0-9_-])"
@@ -114,7 +114,7 @@
},
{
"name": "keyword.operator",
- "match": "\\+|-|\\*|\\/|%|^|<|>|!=|==|<=|>=|~|&&|\\|\\||\\^\\^|\\?|:"
+ "match": "\\+|-|\\*|\\/|%|^|<=|>=|!=|==|<|>|~|&&|\\|\\||\\^\\^|\\?|:"
}
],
"uuid": "79497c46-d13d-4b50-8389-c4c8cac6f3a5"
View
4 Jack.tmBundle/Jack.tmLanguage
@@ -24,7 +24,7 @@
</dict>
<dict>
<key>match</key>
- <string>(return|if|elif|else|while|for|in)(?![a-zA-Z0-9_-])</string>
+ <string>(abort|return|if|elif|else|while|for|in)(?![a-zA-Z0-9_-])</string>
<key>name</key>
<string>keyword.control</string>
</dict>
@@ -204,7 +204,7 @@
</dict>
<dict>
<key>match</key>
- <string>\+|-|\*|\/|%|^|&lt;|&gt;|!=|==|&lt;=|&gt;=|~|&amp;&amp;|\|\||\^\^|\?|:</string>
+ <string>\+|-|\*|\/|%|^|&lt;=|&gt;=|!=|==|&lt;|&gt;|~|&amp;&amp;|\|\||\^\^|\?|:</string>
<key>name</key>
<string>keyword.operator</string>
</dict>
Please sign in to comment.
Something went wrong with that request. Please try again.