mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 10:31:10 +08:00
CSS variable definitions are tokenized as "variable-2" by CodeMirror. We should treat these as if they would be regular CSS property definitions, to properly add new lines when formatting multiple CSS variable definitions. R=aerotwist@chromium.org Also-By: stsoiasue@gmail.com Fixed: 1024752 Change-Id: Ifd3d0c89f3cc10a718a14fc2b2c7bf11e66c717d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2578938 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>