I try to use :FormatCode
, it throws:
Error formatting file: ERROR(ShellError): Error running: clang-format -style file -assume-filename /Users/shiyang/test.c -lines 1:29 -cursor 134 -sort-includes
clang-format: Unknown command line argument '-sort-includes'. Try: 'clang-format -help'
clang-format: Did you mean '-style'?
my clang-format version:
➜ ~ clang-format -version
clang-format version 3.8.0 (tags/google/testing/2015-07-31)