sbdchd / neoformat

:sparkles: A (Neo)vim plugin for formatting code.
BSD 2-Clause "Simplified" License
1.98k stars 189 forks source link

clang-format not work #486

Open jyd519 opened 10 months ago

jyd519 commented 10 months ago

neoformat failed to pass the filename.

https://github.com/sbdchd/neoformat/blob/afbc055587e88554b1fd11408cfab859d0cd40d3/autoload/neoformat/formatters/c.vim#L16

-assume-filename=' . expand('"%"') should be -assume-filename="' . expand('%') . '"'