Skip to content

const, let formatting with multiple lines #158

Open
@greg-minshall

Description

@greg-minshall

i tried this with emacs -Q -L ./typescript.el.

const a = 1,
b = 2;

this is true for let also.

in a .js buffer, with js2-mode, i get what i would have expected:

const a = 1,
      b = 2;

i'm running

GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-26

and i appear to be running

commit c9b22f5f338c4efa138a79d551c4cc4a9e9e7826

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions