Skip to content

Commit

Permalink
feat: spitfire option (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg authored Feb 14, 2024
1 parent 66440a8 commit c6c870a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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

0 comments on commit c6c870a

Please sign in to comment.