I'm having issues getting Neoformat to run prettier on a file with a dollar sign in its filename. When I rename the file to not have a dollar sign, it runs properly.
Repro:
Make a file with name test.$id.tsx
Try to run :Neoformat in it
Fails with Neformat: formatters ./node_modules/bin/prettier, clang-format failed to run
Rename the file to test.id.tsx
Run :Neoformat
Works properly
Prettier cli also is able to properly run on this file if run directly from shell. My guess is that Neoformat is not properly escaping the $ character?
I'm having issues getting Neoformat to run prettier on a file with a dollar sign in its filename. When I rename the file to not have a dollar sign, it runs properly.
Repro:
test.$id.tsx
:Neoformat
in itNeformat: formatters ./node_modules/bin/prettier, clang-format failed to run
test.id.tsx
:Neoformat
Prettier cli also is able to properly run on this file if run directly from shell. My guess is that Neoformat is not properly escaping the
$
character?