small fixes
This commit is contained in:
parent
6b62974118
commit
1a6e2f83f2
1 changed files with 5 additions and 3 deletions
|
|
@ -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 : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue