golang indent issues when auto-pairs = false #7910
Labels
A-indent
Area: Indentation
A-language-support
Area: Support for programming/text languages
C-enhancement
Category: Improvements
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-has-instructions
Call for participation: Has instructions for fixing the issue and opening a PR
Summary
when writing expressions, i expect an outdent when i input the matching pair. in some cases, the closing brace is in line with the content of the expression:
in other cases like creating a function, i expect an indent after opening the brace and hitting enter, yet it does not.
all of these scenarios are resolved if i close the braces immediately, and then fill in the content.
Reproduction Steps
indent.mp4
Helix log
No response
Platform
macOS
Terminal Emulator
kitty 0.28.0
Helix Version
helix 23.05
The text was updated successfully, but these errors were encountered: