diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-12 15:44:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-12 15:44:34 +0100 |
commit | 44df0e2a9febc3caece861f2ddbbc6ff377ccb54 (patch) | |
tree | 85dfcc25b89b9b3a147ccb4d32b747fd3a8d5247 /editors/code/src/snippets.ts | |
parent | 93de4918ea06c461b16d844434b8352cbc62704a (diff) | |
parent | 1416413d69bfd11d2652349a7a6b20e76924de67 (diff) |
Merge #6198
6198: Skip macro matcher fragment name semantic highlighting r=matklad a=Veykril
Implements a small state-machine for macro_rules! highlighting to separate out the matcher part of its rules. This skips semantically highlighting names of metavariables in the matcher and expander. This might even allow for more fun macro highlighting things in the future.
Fixes #4380.
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'editors/code/src/snippets.ts')
0 files changed, 0 insertions, 0 deletions