https://bugs.kde.org/show_bug.cgi?id=487054
Bug ID: 487054 Summary: Unexpected space indentation in Go var group Classification: Applications Product: kate Version: 24.02.1 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: indentation Assignee: kwrite-bugs-n...@kde.org Reporter: aljosha.pap...@ferrosoft.net Target Milestone: --- Created attachment 169503 --> https://bugs.kde.org/attachment.cgi?id=169503&action=edit Reproducer SUMMARY Indentation uses spaces after inserting a line break in a var group (Go language), inside a multiline definition, i.e. map. STEPS TO REPRODUCE 1. In a var() group, define a map[string]string{} variable. 2. Define a key/value pair in the map on its own line. 3. After the comma character of the key/value pair, press Enter. OBSERVED RESULT The cursor is placed on a new line with 5 space characters. EXPECTED RESULT The cursor is placed on a new line with 2 tab characters. SOFTWARE/OS VERSIONS Windows: 11 Version 23H2 (x86_64) KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION See the attached reproducer. -- You are receiving this mail because: You are watching all bug changes.