diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-30 09:26:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-30 09:26:04 +0100 |
commit | 07060b3daa9592090da45245ea13c28304449d9d (patch) | |
tree | 7105d929653cdd471c573ad24f52cefc5146d580 /editors/code/ra_syntax_tree.tmGrammar.json | |
parent | 5d8402817044ac4039c7315e70565d6b0414b9d3 (diff) | |
parent | 18aa4bcb0328393db0c20de0241e1e9606901144 (diff) |
Merge #4654
4654: Add semantic highlight to ? operator r=matklad a=ruabmbua
Made it an operator with controlFlow modifier.
To highlight in vscode as red:
```json
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"rules": {
"operator.controlFlow": "#ff0000",
}
}
```
![Bildschirmfoto von 2020-05-29 21-32-06](https://user-images.githubusercontent.com/2522373/83297998-f3585a00-a1f3-11ea-9d14-4ef04b9b6b9a.png)
https://github.com/rust-analyzer/rust-analyzer/issues/4597
Co-authored-by: Roland Ruckerbauer <[email protected]>
Diffstat (limited to 'editors/code/ra_syntax_tree.tmGrammar.json')
0 files changed, 0 insertions, 0 deletions