theme_importer: Improve syntax token matching (#3549)
This PR improves the approach we use to match syntax tokens between Zed and VS Code in the `theme_importer`. We now use the list of scopes assigned to each Zed syntax token to rank the possible candidates in the VS Code and then pick the candidate with the highest rank. So far this has proved to provide better colors across the board, but we'll continue to refine the matching over time. Release Notes: - N/A
M
Marshall Bowers committed
f272881a6b69efa7295aa85990c91af1f92c4cf3
Parent: 89f62a1
Committed by GitHub <noreply@github.com>
on 12/8/2023, 3:11:31 AM