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

chore: Add option to set the aztec macros environment variable #53

Closed
wants to merge 5 commits into from

Conversation

kevaundray
Copy link
Contributor

@kevaundray kevaundray commented Nov 30, 2023

Description

Resolves #52

Problem*

Resolves

Summary*

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@kevaundray kevaundray marked this pull request as ready for review November 30, 2023 21:20
@kevaundray kevaundray requested a review from kobyhallx November 30, 2023 22:11
command,
args,
let serverOptions: ServerOptions = () => {
const env = aztecMacroEnabled ? { ...process.env, AZTEC_MACROS: 'true' } : { ...process.env };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please help me understand how this will affect LSP? Not obvious if this should affect version from master (I think yes, looking at the issue #52).

Also should this affect LSP only? If no, more lift is needed to support Command, Info and Profile commands.

@TomAFrench
Copy link
Member

Closing this as macros are on by default.

@TomAFrench TomAFrench closed this Dec 13, 2023
@kevaundray kevaundray deleted the kw/add-aztec-macros-flag branch December 13, 2023 18:50
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

Successfully merging this pull request may close these issues.

Allow extension to enable aztec macros via environment variable
3 participants