Clang Format not working properly out of the box C++

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • vim-clang-format

    Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, and so on.

  • I'm new to vim and I'm trying to get clang-format to work in vim. Sadly the result just looks wrong for C++. First I tried installing it via vim-plug by just adding call plug#begin() https://github.com/rhysd/vim-clang-format call end#plug() in my .vimrc with vim-plug installed. Got rid of that and tried installing it via the AUR, same result.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts