Replies: 1 comment 7 replies
-
your file
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that Helix is only "half" formatting my TS/JS files, and I've boiled it down to this:
Given the file
formatThis.js
:Running it directly through Prettier I get this:
If I run
:fmt
on this file in Helix, only the excess whitespace is removed afterfunction
, but the newlines aren't inserted:My Typescript config in
~/.config/helix/languages.toml
looks like this:I haven't filed this a bug report, because I don't know if I'm just doing something wrong on my end, or maybe this is a known issue? Either way, can't find anything about this, and it's very confusing.
Beta Was this translation helpful? Give feedback.
All reactions