highlighting rules should still know about url parts when in sql state (#55200)
This commit is contained in:
parent
867c4df24d
commit
a1fe536f6d
|
@ -89,6 +89,7 @@ export function InputHighlightRules() {
|
||||||
addEOL(['url.amp'], /(&)/, 'start')
|
addEOL(['url.amp'], /(&)/, 'start')
|
||||||
),
|
),
|
||||||
'url-sql': mergeTokens(
|
'url-sql': mergeTokens(
|
||||||
|
addEOL(['url.part'], /([^?\/,\s]+)/, 'start-sql'),
|
||||||
addEOL(['url.comma'], /(,)/, 'start-sql'),
|
addEOL(['url.comma'], /(,)/, 'start-sql'),
|
||||||
addEOL(['url.slash'], /(\/)/, 'start-sql'),
|
addEOL(['url.slash'], /(\/)/, 'start-sql'),
|
||||||
addEOL(['url.questionmark'], /(\?)/, 'start-sql', 'urlParams-sql')
|
addEOL(['url.questionmark'], /(\?)/, 'start-sql', 'urlParams-sql')
|
||||||
|
|
Loading…
Reference in a new issue