mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-30 23:27:24 +00:00
Improve highlighting of name refs
This commit is contained in:
parent
4466568525
commit
f1ec88cc56
5 changed files with 222 additions and 12 deletions
|
@ -33,11 +33,16 @@ export class Highlighter {
|
|||
colorContrib('keyword.unsafe'),
|
||||
colorContrib('function'),
|
||||
colorContrib('parameter'),
|
||||
colorContrib('constant'),
|
||||
colorContrib('type'),
|
||||
colorContrib('builtin'),
|
||||
colorContrib('text'),
|
||||
colorContrib('attribute'),
|
||||
colorContrib('literal'),
|
||||
colorContrib('macro')
|
||||
colorContrib('macro'),
|
||||
colorContrib('variable'),
|
||||
colorContrib('field'),
|
||||
colorContrib('module')
|
||||
];
|
||||
|
||||
return new Map<string, vscode.TextEditorDecorationType>(decorations);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue