Skip to content

Commit

Permalink
Add Rust Analyzer configuration
Browse files Browse the repository at this point in the history
Add a Rust Analyzer configuration via a VS Code settings file, which
silences some annoying false positive diagnostics.

One can use [folke/neoconf.nvim](https://github.com/folke/neoconf.nvim)
to use the configuration with neovim. I couldn't get this to work with
neoconf.nvim via a .neoconf.json file for some reason.
  • Loading branch information
kesyog committed Jul 6, 2024
1 parent d28da13 commit 2ebec66
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.checkOnSave.extraArgs": [
"--target",
"thumbv7m-none-eabihf"
]
}

0 comments on commit 2ebec66

Please sign in to comment.