We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c0f1f commit 3c62164Copy full SHA for 3c62164
src/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1
@@ -9,7 +9,7 @@ if (Test-Path variable:global:__VSCodeOriginalPrompt) {
9
}
10
11
# Disable shell integration when the language mode is restricted
12
-if (("RestrictedLanguage", "NoLanguage") -Contains $ExecutionContext.SessionState.LanguageMode) {
+if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
13
return;
14
15
0 commit comments