# xavierd/clang_complete

Vim plugin that use clang for completing C/C++ code.

Repository: https://github.com/xavierd/clang_complete
Canonical: https://ross.abutalabs.com/products/clang_complete
Homepage: http://www.vim.org/scripts/script.php?script_id=3302
Language: Python
License Family: other
Last push: 2024-04-24T23:56:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5790, "days_push": 861, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1943, forks 304 (observed 2026-08-28T04:05:57.556794+00:00)

## What it is
A Vim plugin that uses libclang to provide accurate semantic code completion for C, C++, Objective-C, and Objective-C++. It also highlights compile errors and supports per-project compiler flags via a .clang_complete file.

## Use cases
- autocomplete C++ code in Vim
- clang-based completion without ctags
- show compile errors while editing C in Vim
- configure per-project compiler flags for completion
- complete Objective-C code in Vim

## When to choose
- You use Vim (not an LSP setup) and want clang-accurate C/C++ completion
- You want error highlighting and quickfix integration from the editor
- You need per-project include/define flags via .clang_complete files

## When to avoid
- You use Neovim or a modern LSP client - clangd is generally better supported
- You need a license-clear dependency (the repo has no explicit license)
- You work mainly in languages other than C/C++/Objective-C

## Facets
- artifact type: plugin
- maturity: maintenance
- function: editor, developer-tools
- domain: developer-tools, text-editors, programming-languages
- platform: windows, cross-platform
- tags: vim-plugin, code-completion, clang, c-cpp, omnicompletion, libclang, linux, macos

## Member repositories
- xavierd/clang_complete (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:57.556794+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:03.288834+00:00, confidence not recorded.
  - readme: https://github.com/xavierd/clang_complete (fetched 2026-08-28T04:05:57.556794+00:00, sha e46c64b00630)
  - homepage: http://www.vim.org/scripts/script.php?script_id=3302 (fetched 2026-08-29T10:47:09.134148+00:00, sha 25e42fcf8e73)
  - site_page: https://www.vim.org/about.php (fetched 2026-08-29T10:47:09.143106+00:00, sha 1bd2c1907ce5)
  - site_page: https://www.vim.org/docs.php (fetched 2026-08-29T10:47:09.144949+00:00, sha 438015e9e2e2)
  - site_page: http://www.vim.org/about.php (fetched 2026-08-29T10:47:09.146636+00:00, sha fbe78bde9535)
- Data as of 2026-08-30T08:39:29.467469+00:00.
