Closed ccdunder closed 9 years ago
Ah, thanks for catching this. As I do not have version 3.3 on this machine, can you check if the check-version branch fixes this for you? If I recall correctly, 3.3 did not have a json-line in its output.
Closing this as further development should happen upstream.
Changing the call-process-region call to #1 below fixes it. Now it's just a matter of doing this automatically when either (a) clang-format -version matches #2 below or (b) clang-format -help doesn't include the arguments "-cursor" & "-assume-filename" (see #3 below). Thoughts on which approach is better?
1:
2:
3: