Skip to content

Commit

Permalink
make rust analyzer complete private variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Mar 30, 2024
1 parent 7a02ab4 commit f74f7a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/irust/src/irust/ra/rust_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ impl RustAnalyzer {
"id": ID.fetch_add(1, Ordering::SeqCst),
"method": "initialize",
"params": {
// TODO: make this configurable in irust config
"initializationOptions": {
"checkOnSave": false,
"diagnostics": {
"enable": false
},
"completion": {
"privateEditable": {
"enable": true
}
}
},
"processId": std::process::id(),
Expand Down

0 comments on commit f74f7a8

Please sign in to comment.