mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-30 08:57:08 +02:00
Доработка подсветки синтаксиса языка запросов fix #114
This commit is contained in:
parent
c81d6d72dd
commit
027c6b2ea6
@ -331,6 +331,13 @@ define([], function () {
|
||||
operators: /[=><+\-*\/%;,]+/,
|
||||
tokenizer: {
|
||||
root: [
|
||||
[/([a-zA-Z\u0410-\u044F]+)(\s+)(как|as)(\s+)([a-zA-Z\u0410-\u044F]+)/, [
|
||||
{token: 'query'},
|
||||
{token: 'query'},
|
||||
{token: 'query.keyword'},
|
||||
{token: 'query'},
|
||||
{token: 'query'},
|
||||
]],
|
||||
[/(как|as)(\s+)([a-zA-Z\u0410-\u044F]+)(\()/, [
|
||||
{token: 'query.keyword'},
|
||||
{token: 'query'},
|
||||
|
Loading…
Reference in New Issue
Block a user