Skip to content

Commit

Permalink
feat(nextls): experimental settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Oct 19, 2023
1 parent 57879da commit 89e200b
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.experimental.completions.enable": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to activate completions. Defaults to false."
},
"elixir-tools.nextLS.installationDirectory": {
"type": "string",
"default": "~/.cache/elixir-tools/nextls/bin/",
Expand Down
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ async function activateNextLS(
mix_env: config.get("MIX_ENV"),
// eslint-disable-next-line @typescript-eslint/naming-convention
mix_target: config.get("MIX_TARGET"),
experimental: config.get("experimental"),
},
documentSelector: [
{ scheme: "file", language: "elixir" },
Expand Down

0 comments on commit 89e200b

Please sign in to comment.