File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ impl Config {
118
118
self . client_caps = client_caps;
119
119
120
120
set ( value, "/withSysroot" , & mut self . with_sysroot ) ;
121
- set ( value, "/featureFlags/lsp. diagnostics" , & mut self . publish_diagnostics ) ;
121
+ set ( value, "/diagnostics/enable " , & mut self . publish_diagnostics ) ;
122
122
set ( value, "/lruCapacity" , & mut self . lru_capacity ) ;
123
123
self . files . watcher = match get ( value, "/files/watcher" ) {
124
124
Some ( "client" ) => FilesWatcher :: Client ,
@@ -132,7 +132,7 @@ impl Config {
132
132
set ( value, "/cargo/features" , & mut self . cargo . features ) ;
133
133
set ( value, "/cargo/loadOutDirsFromCheck" , & mut self . cargo . load_out_dirs_from_check ) ;
134
134
135
- match get :: < bool > ( value, "/procMacro/enabled " ) {
135
+ match get :: < bool > ( value, "/procMacro/enable " ) {
136
136
Some ( true ) => {
137
137
if let Ok ( path) = std:: env:: current_exe ( ) {
138
138
self . proc_macro_srv = Some ( ( path. to_string_lossy ( ) . to_string ( ) , vec ! [ "proc-macro" . to_string( ) ] ) ) ;
Original file line number Diff line number Diff line change 389
389
"type" : " boolean" ,
390
390
"default" : false
391
391
},
392
- "rust-analyzer.procMacro.enabled " : {
392
+ "rust-analyzer.procMacro.enable " : {
393
393
"description" : " Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled." ,
394
394
"type" : " boolean" ,
395
395
"default" : false
You can’t perform that action at this time.
0 commit comments