You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often when I attempt to format certain filetypes that contain a syntax error, Neoformat mangles everything with clang-format. When my desired formatter fails to run, clang-format is used as a fallback.
Doesn't happen in languages like Rust that don't have clang-format defined as a default fallback.
If I have an error, I would only like to see that my chosen linter failed to run. I don't want clang-format attempting to rewrite my broken typescript file.
I'm raising this in case anyone else has the same issue, but can I suggest a usability improvement; a configuration flag to make Neoformat not attempt other formatters if a formatter is installed but fails.
The text was updated successfully, but these errors were encountered:
Often when I attempt to format certain filetypes that contain a syntax error, Neoformat mangles everything with
clang-format
. When my desired formatter fails to run,clang-format
is used as a fallback.Doesn't happen in languages like Rust that don't have
clang-format
defined as a default fallback.If I have an error, I would only like to see that my chosen linter failed to run. I don't want
clang-format
attempting to rewrite my broken typescript file.I've solved this with the following:
I'm raising this in case anyone else has the same issue, but can I suggest a usability improvement; a configuration flag to make Neoformat not attempt other formatters if a formatter is installed but fails.
The text was updated successfully, but these errors were encountered: