From f4008cdda111e9cf31e8b740702557bf18861e09 Mon Sep 17 00:00:00 2001 From: Emil Halvarsson Date: Mon, 29 Apr 2024 21:40:11 +0200 Subject: [PATCH] Fixed autocomplete for environment/global variables --- Autocomplete/PowershellAutocomplete.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autocomplete/PowershellAutocomplete.cs b/Autocomplete/PowershellAutocomplete.cs index a4cd51b..f5c55c4 100644 --- a/Autocomplete/PowershellAutocomplete.cs +++ b/Autocomplete/PowershellAutocomplete.cs @@ -115,7 +115,7 @@ public override void GenerateSuggestions() public override bool IsWordChar(Rune rune) { var c = (char)rune; - return Char.IsLetterOrDigit(c) || c == '$' || c == '-'; + return Char.IsLetterOrDigit(c) || c == '$' || c == '-' || c == ':'; } ///