Skip to content

Commit

Permalink
highlighting rules should still know about url parts when in sql state (
Browse files Browse the repository at this point in the history
#55200) (#55217)

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
  • Loading branch information
cjcenizal and jloleysens authored Jan 17, 2020
1 parent 2c4ba37 commit de956f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export function InputHighlightRules() {
addEOL(['url.amp'], /(&)/, 'start')
),
'url-sql': mergeTokens(
addEOL(['url.part'], /([^?\/,\s]+)/, 'start-sql'),
addEOL(['url.comma'], /(,)/, 'start-sql'),
addEOL(['url.slash'], /(\/)/, 'start-sql'),
addEOL(['url.questionmark'], /(\?)/, 'start-sql', 'urlParams-sql')
Expand Down

0 comments on commit de956f8

Please sign in to comment.