Allow auto-indenting with syntax errors when using regex-based indent matches to improve bash auto-indent behavior (#24160)
- Fixes auto-indent issues around `elif` caused by auto-indent being prevented due to syntax errors generated before `elif` clause completed Release Notes: - Fixed an issue where inserting an elif before an else in bash would not properly auto-indent --------- Co-authored-by: Conrad Irwin <conrad@zed.dev>
This commit is contained in:
parent
66d0cdfd91
commit
8742c18107
5 changed files with 53 additions and 8 deletions
|
@ -94,3 +94,4 @@ tree-sitter-go.workspace = true
|
|||
tree-sitter-c.workspace = true
|
||||
tree-sitter-css.workspace = true
|
||||
tree-sitter-bash.workspace = true
|
||||
pretty_assertions.workspace = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue