Skip to content

Commit 89e200b

Browse files
committed
feat(nextls): experimental settings
1 parent 57879da commit 89e200b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
"default": "host",
7272
"markdownDescription": "The MIX_TARGET to use when starting the runtime for your project."
7373
},
74+
"elixir-tools.nextLS.experimental.completions.enable": {
75+
"type": "boolean",
76+
"default": false,
77+
"markdownDescription": "Whether to activate completions. Defaults to false."
78+
},
7479
"elixir-tools.nextLS.installationDirectory": {
7580
"type": "string",
7681
"default": "~/.cache/elixir-tools/nextls/bin/",

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ async function activateNextLS(
174174
mix_env: config.get("MIX_ENV"),
175175
// eslint-disable-next-line @typescript-eslint/naming-convention
176176
mix_target: config.get("MIX_TARGET"),
177+
experimental: config.get("experimental"),
177178
},
178179
documentSelector: [
179180
{ scheme: "file", language: "elixir" },

0 commit comments

Comments
 (0)