Skip to content

Commit

Permalink
Fixed autocomplete for environment/global variables (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
halvarsson authored Apr 29, 2024
1 parent 2ffbbe2 commit 2a6fbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Autocomplete/PowershellAutocomplete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 == ':';
}

///<inheritdoc/>
Expand Down

0 comments on commit 2a6fbb9

Please sign in to comment.