nova-rust
nova-rust copied to clipboard
[BUG] checkOnSave command shows invalid config warning
Describe the bug
Whenever the extension runs, the Language Server notification banner pops up in the top right-hand corner, warning about the incorrect value for the checkOnSave config key.
Rust Analyzer
invalid config value:
\checkOnSave: invalid type: map, expected a boolean;
To Reproduce Steps to reproduce the behavior:
- Create a new Cargo project with
cargo new hello_world --bin - Make sure the Rust extension is installed and enabled in Nova
- Open the project in Nova
- See the notification pop up multiple times
Expected behavior The warning shouldn't be there
Screenshots
Versions (please complete the following information):
- macOS: 15.7.1
- Processor: Apple Silicon
- Nova 13.3
- Extension Version 2.4.1
Additional context
Patching the setting value directly in the installed extension directory by changing line 90 of Scripts/rust-lang-server.js from checkOnSave: { to check: { fixes the issue. Relevant Rust users forum thread.