We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cc379c commit 19ddc1eCopy full SHA for 19ddc1e
1 file changed
src/server/project.ts
@@ -885,6 +885,9 @@ namespace ts.server {
885
}
886
// Enable global plugins with synthetic configuration entries
887
for (const globalPluginName of this.projectService.globalPlugins) {
888
+ // Skip already-locally-loaded plugins
889
+ if (options.plugins.some(p => p.name === globalPluginName)) continue;
890
+
891
// Provide global: true so plugins can detect why they can't find their config
892
this.enablePlugin({ name: globalPluginName, global: true } as PluginImport, searchPaths);
893
0 commit comments