Skip to content
New issue

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

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

Already on GitHub? Sign in 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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