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

feat: spitfire option #73

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
"default": "host",
"markdownDescription": "The MIX_TARGET to use when starting the runtime for your project."
},
"elixir-tools.nextLS.spitfire": {
"type": "boolean",
"default": false,
"markdownDescription": "Enables or disables the use of the Spitfire parser internally."
},
"elixir-tools.nextLS.experimental.completions.enable": {
"type": "boolean",
"default": false,
Expand Down
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ async function activateNextLS(
options: {
env: Object.assign({}, process.env, {
["NEXTLS_AUTO_UPDATE"]: true,
["NEXTLS_SPITFIRE_ENABLED"]: config.get("spitfire") ? 1 : 0,
}),
},
command,
Expand Down
Loading