aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cfg/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-02 08:32:14 +0100
committerGitHub <[email protected]>2020-04-02 08:32:14 +0100
commitf0ba01cd43489f0029e90fa7857c88b4e31f9996 (patch)
tree67cfd74fa8cadca05c5ddfe436aa2640f80fef86 /crates/ra_cfg/src
parent93f21ac624815dc58ea367eb4127526564206e84 (diff)
parent62ed01a1078f499c93c70025342dd869bd277d39 (diff)
Merge #3817
3817: vscode: highlight syntax tree ro editor r=matklad a=Veetaha Small textmate grammar declaration to make rust-analyzer syntax tree more easily inspectable: Btw, if we change the file extension of our `ra_syntax/test_data/**` files to `.rast` they should be highlighted in vscode too. The colors of the tokens are actually going to be color-theme dependent, or you can customize them via: ```jsonc { "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": "name", "settings": { /* */ } } ] } } ``` ![image](https://user-images.githubusercontent.com/36276403/78204947-99f9d600-74a3-11ea-8315-cb1c87810c7c.png) Related: #3682 Co-authored-by: veetaha <[email protected]>
Diffstat (limited to 'crates/ra_cfg/src')
0 files changed, 0 insertions, 0 deletions