PSReadLine
PSReadLine copied to clipboard
Fix that ViFindBrace doesn't search for brace when current char is not a brace
PR Summary
Vi searches right pair of first left brace, or first right brace when current char is not a brace. This pr added this functionality.
After the update, ViGotoBrace should work like this(of course this will also affect other methods such as ViDeleteBrace):
PR Checklist
- [x] PR has a meaningful title
- Use the present tense and imperative mood when describing your changes
- [x] Summarized changes
- [ ] Make sure you've added one or more new tests
- [x] Make sure you've tested these changes in terminals that PowerShell is commonly used in (i.e. conhost.exe, Windows Terminal, Visual Studio Code Integrated Terminal, etc.)
-
User-facing changes
- [ ] Not Applicable
- OR
- [ ] Documentation needed at PowerShell-Docs
- [ ] Doc Issue filed: