typescript.el
typescript.el copied to clipboard
const, let formatting with multiple lines
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
Happens to me too (for a long time), so now I write
const a = 1;
const b = 2;
😅