-
Howdy! I'm really out of idea how to set up the rust-analyzer for my project. I'm working on a STM32 embeded project. I want to rust-analyzer using the thumbv7m-none-eabi as the target. I list my .neoconf.json below. {
"lspconfig": {
"rust-analyzer": {
"rust-analyzer.check.allTargets": false,
"rust-analyzer.cargo.target": "thumbv7m-none-eabi"
}
}
} But this doesn't work. I know neoconf can work with vscode as well. If I move the config into .vscode/settings.json {
"rust-analyzer.check.allTargets": false,
"rust-analyzer.cargo.target": "thumbv7m-none-eabi"
} It works perfectly. But I don't want to use the VScode approach as I never use it. Can anyone help me out? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, I finally got it sort out. I install rustaceanvim as well, looks like it inteferce with the neoconf. Disable it and |
Beta Was this translation helpful? Give feedback.
Well, I finally got it sort out.
I install rustaceanvim as well, looks like it inteferce with the neoconf. Disable it and
.neoconf.json
works.