mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 19:34:16 +00:00
Initial commit of highlight related configuration w/ implementation.
This commit is contained in:
parent
1dd1814100
commit
b75e0e7bb1
6 changed files with 78 additions and 10 deletions
|
@ -172,6 +172,15 @@ export class Config {
|
|||
};
|
||||
}
|
||||
|
||||
get highlightRelated() {
|
||||
return {
|
||||
references: this.get<boolean>("highlightRelated.references"),
|
||||
exitPoints: this.get<boolean>("highlightRelated.exit_points"),
|
||||
breakPoints: this.get<boolean>("highlightRelated.exit_points"),
|
||||
yieldPoints: this.get<boolean>("highlightRelated.yield_points")
|
||||
};
|
||||
}
|
||||
|
||||
get currentExtensionIsNightly() {
|
||||
return this.package.releaseTag === NIGHTLY_TAG;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue