Skip to content

Commit

Permalink
fix(nxls): provide autocomplete only for plugins that contain nx
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless committed Dec 16, 2024
1 parent 2cd8cb7 commit d2fafc6
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ export async function inferencePluginsCompletion(
.split('node_modules/')
.pop();

inferencePluginsCompletion.push({
label: `${dependencyPath}/plugin`,
});
if (dependencyPath?.includes('nx')) {
inferencePluginsCompletion.push({
label: `${dependencyPath}/plugin`,
});
}
}
}

Expand Down

0 comments on commit d2fafc6

Please sign in to comment.