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
  • Loading branch information
jloleysens committed Jan 17, 2020
1 parent 9e07a42 commit ba261d5
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 ba261d5

Please sign in to comment.