diff options
author | Seivan Heidari <[email protected]> | 2019-11-04 22:59:11 +0000 |
---|---|---|
committer | Seivan Heidari <[email protected]> | 2019-11-04 22:59:11 +0000 |
commit | c60f9bf4c6d6ddd341c673b228b6aa1add3da62b (patch) | |
tree | e411904c533ac37745397719bbfe983aeb21b372 /crates/ra_syntax/Cargo.toml | |
parent | dad9bc6caad71e6aebb92ad9883c08d30431e9b1 (diff) |
* Adding scope mapping configuration manifest in `package.json`
* Loading configurable scope mappings from settings.
* Updating Readme with `rust-analyzer.scopeMappings`.
`rust-analyzer.scopeMappings` -- a scheme backed JSON object to tweak Rust Analyzer scopes to TextMate scopes.
```jsonc
{
//Will autocomplete keys to available RA scopes.
"keyword.unsafe": ["keyword", "keyword.control"],
//Values are string | TextMateScope | [string | TextMateScope]
"comments": "comment.block"
}
```
Diffstat (limited to 'crates/ra_syntax/Cargo.toml')
0 files changed, 0 insertions, 0 deletions