typescript.el icon indicating copy to clipboard operation
typescript.el copied to clipboard

const, let formatting with multiple lines

Open greg-minshall opened this issue 3 years ago • 1 comments

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

greg-minshall avatar Oct 31 '21 04:10 greg-minshall

Happens to me too (for a long time), so now I write

const a = 1;
const b = 2;

😅

redblobgames avatar Jul 30 '22 15:07 redblobgames