Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[vb mode] Highlight Try/Catch keywords

  • Loading branch information...
commit af7755984d836d6a0073a35c7c87bb96b2f447ad 1 parent 52cfc2e
Marijn Haverbeke marijnh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mode/vb/vb.js
4 mode/vb/vb.js
View
@@ -12,8 +12,8 @@ CodeMirror.defineMode("vb", function(conf, parserConf) {
var tripleDelimiters = new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))");
var identifiers = new RegExp("^[_A-Za-z][_A-Za-z0-9]*");
- var openingKeywords = ['class','module', 'sub','enum','select','while','if','function', 'get','set','property'];
- var middleKeywords = ['else','elseif','case'];
+ var openingKeywords = ['class','module', 'sub','enum','select','while','if','function', 'get','set','property', 'try'];
+ var middleKeywords = ['else','elseif','case', 'catch'];
var endKeywords = ['next','loop'];
var wordOperators = wordRegexp(['and', 'or', 'not', 'xor', 'in']);
Please sign in to comment.
Something went wrong with that request. Please try again.