Skip to content

Commit 3ed06e1

Browse files
msftrncsdaxian-dbw
authored andcommitted
Add missing single and double curly quotes (#985)
1 parent b7b8f7b commit 3ed06e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PSReadLine/Completion.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public static void TabCompletePrevious(ConsoleKeyInfo? key = null, object arg =
6868
_singleton.Complete(forward: false);
6969
}
7070

71-
private static bool IsSingleQuote(char c) => c == '\'' || c == (char)8216 || c == (char)8217 || c == (char)8218;
72-
private static bool IsDoubleQuote(char c) => c == '"' || c == (char)8220 || c == (char)8221;
71+
private static bool IsSingleQuote(char c) => c == '\'' || c == (char)8216 || c == (char)8217 || c == (char)8218 || c == (char)8219;
72+
private static bool IsDoubleQuote(char c) => c == '"' || c == (char)8220 || c == (char)8221 || c == (char)8222;
7373

7474
// variable can be "quoted" like ${env:CommonProgramFiles(x86)}
7575
private static bool IsQuotedVariable(string s) => s.Length > 2 && s[1] == '{' && s[s.Length - 1] == '}';

0 commit comments

Comments
 (0)