small fixes

This commit is contained in:
sevin7676 2015-04-17 09:35:58 -04:00
commit 1a6e2f83f2

View file

@ -154,10 +154,12 @@ var SqlServerHighlightRules = function() {
}, { }, {
token : keywordMapper, token : keywordMapper,
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b" regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
}, { }
/* this works to make variables designated with @ symbol show as a single token... but it screws up built in functions that start with @ symbol
, {
token : "constant.class", token : "constant.class",
regex : "@@?[a-zA-Z_$][a-zA-Z0-9_$]*\\b" regex : "@@?[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
}, { }*/, {
token : "keyword.operator", token : "keyword.operator",
regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|=" regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
}, { }, {