Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:ClangFormat kills vi #114

Open
mcandre opened this issue Apr 18, 2021 · 1 comment
Open

:ClangFormat kills vi #114

mcandre opened this issue Apr 18, 2021 · 1 comment

Comments

@mcandre
Copy link

mcandre commented Apr 18, 2021

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
Copy link

Kypert commented May 14, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants