:ClangFormat kills vi
mcandre opened this issue · 1 comments
mcandre commented
When I run :ClangFormat
, it immediately suspends the Vim session. This lands me back onto the shell.
Example file:
https://github.com/mcandre/swiper/blob/master/include/swiper/swiper.hpp
Recovered using the swap file and tried again, same result every time. My code never formats.
Uninstalling the plugin for now.
clang-format 10, vim-plug, Vim 8.1, Ubuntu 20.04 Focal Fossa.
Kypert commented
I was unable to reproduce this, file was formatted just fine.
Were you able to test clang-format swiper.hpp
in the shell, to see that clang-format itself was behaving?
Did you have any specific style options defined in g:clang_format#style_optionsg:clang_format#style_options
? Or which .clang-format
file was used?