File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 450450 "light" : " #747474" ,
451451 "highContrast" : " #BEBEBE"
452452 }
453+ },
454+ {
455+ "id" : " rust_analyzer.syntaxTreeBorder" ,
456+ "description" : " Color of the border displayed in the Rust source code for the selected syntax node (see \" Show Syntax Tree\" command)" ,
457+ "defaults" : {
458+ "dark" : " #ffffff" ,
459+ "light" : " #b700ff" ,
460+ "highContrast" : " #b700ff"
461+ }
453462 }
454463 ],
455464 "semanticTokenTypes" : [
Original file line number Diff line number Diff line change @@ -81,8 +81,10 @@ class TextDocumentContentProvider implements vscode.TextDocumentContentProvider
8181// https://code.visualstudio.com/api/extension-guides/tree-view
8282class AstInspector implements vscode . HoverProvider , Disposable {
8383 private static readonly astDecorationType = vscode . window . createTextEditorDecorationType ( {
84- fontStyle : "normal" ,
85- border : "#ffffff 1px solid" ,
84+ borderColor : new vscode . ThemeColor ( 'rust_analyzer.syntaxTreeBorder' ) ,
85+ borderStyle : "solid" ,
86+ borderWidth : "2px" ,
87+
8688 } ) ;
8789 private rustEditor : undefined | RustEditor ;
8890
You can’t perform that action at this time.
0 commit comments