Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable procMacro by default? #950

Closed
hgomersall opened this issue Feb 24, 2022 · 2 comments
Closed

Enable procMacro by default? #950

hgomersall opened this issue Feb 24, 2022 · 2 comments
Assignees

Comments

@hgomersall
Copy link

hgomersall commented Feb 24, 2022

In upstream, proc macros are now enabled by default, but I needed to enable them explicitly to coc-settings.json, as in rust-lang/rust-analyzer#7497.

It would be good if the default could reflect upstream.

@fannheyward
Copy link
Owner

rust-analyzer.procMacro.enable is enabled now, you didn't need to set it in coc-settings.json. README is outdated, I'll improve it.

"rust-analyzer.procMacro.enable": {
"markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
"default": true,
"type": "boolean"
},

@hgomersall
Copy link
Author

Yeah my bad, I just read the source and worked that out. A :CocUpdate fixed things with the settings removed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants