Wrong indents after the static initialization block in Javascript #7845
Labels
A-indent
Area: Indentation
A-language-support
Area: Support for programming/text languages
C-bug
Category: This is a bug
Summary
Every indentation level after the static initialization block is reduced by 1, as described in the title.
Reproduction Steps
I tried this:
hx test.js -c none --log helix.log
class A {
Enterstatic {
EnterI expected this to happen:

Instead, this happened:

Helix log
~/.cache/helix/helix.log
Platform
Linux arch 6.4.7-arch1-3
Terminal Emulator
wezterm 20230712-072601-f4abf8fd
Helix Version
helix 23.05
The text was updated successfully, but these errors were encountered: