feat(editors): ignore cfg_eval proc macros in rust-analyzer
This commit is contained in:
parent
f803b8a0f6
commit
58f60e0c62
4 changed files with 15 additions and 3 deletions
home/editors/helix
|
@ -12,6 +12,11 @@
|
|||
cargo.buildScripts.enable = true;
|
||||
checkOnSave.command = "clippy";
|
||||
procMacro.enable = true;
|
||||
procMacro.ignored = {
|
||||
# cfg_eval can cause types to be unavailable
|
||||
core = [ "cfg_eval" ];
|
||||
cfg_eval = [ "cfg_eval" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue