Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

golang wrong indentation on var() #4877

Closed
rumpelsepp opened this issue Nov 24, 2022 · 0 comments · Fixed by #4906
Closed

golang wrong indentation on var() #4877

rumpelsepp opened this issue Nov 24, 2022 · 0 comments · Fixed by #4906
Labels
A-language-support Area: Support for programming/text languages C-bug Category: This is a bug

Comments

@rumpelsepp
Copy link

Summary

In golang, the indentation is wrong when you use the bracketed var keyword.

image

Line 5 and 6 should be indented by one more level.

Reproduction Steps

In a function type var ( and press enter (autopair is enabled).

Helix log

Not relevant.

Platform

Linux

Terminal Emulator

gnome-console

Helix Version

29dc530

@rumpelsepp rumpelsepp added the C-bug Category: This is a bug label Nov 24, 2022
@kirawi kirawi added the A-language-support Area: Support for programming/text languages label Nov 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-language-support Area: Support for programming/text languages C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants