radian-software / apheleia

🌷 Run code formatter on buffer contents without moving point, using RCS patches and dynamic programming.
MIT License
558 stars 75 forks source link

Parse shebangs on Windows #293

Closed ItsHoff closed 6 months ago

ItsHoff commented 6 months ago

Parses the shebang from formatter scripts on Windows, and inserts the binary in to the command. This fixes https://github.com/radian-software/apheleia/issues/285. Please let me know if there is still something that need more work, thanks.

One minor issue I noticed is that errors will now get logged to *aphleia-bash-log* instead of *apheleia-npx-log*.