nova-rust icon indicating copy to clipboard operation
nova-rust copied to clipboard

[BUG] checkOnSave command shows invalid config warning

Open SquishyLeaf opened this issue 2 months ago • 0 comments

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:

  1. Create a new Cargo project with cargo new hello_world --bin
  2. Make sure the Rust extension is installed and enabled in Nova
  3. Open the project in Nova
  4. See the notification pop up multiple times

Expected behavior The warning shouldn't be there

Screenshots

Image

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.

SquishyLeaf avatar Oct 31 '25 08:10 SquishyLeaf