# esmuellert/codediff.nvim

VSCode-style diff, merge and git history for Neovim. Side-by-side or inline, with character-level highlighting from VSCode's own diff algorithm in C.

Repository: https://github.com/esmuellert/codediff.nvim
Canonical: https://ross.abutalabs.com/products/codediffnvim
Language: Lua
License: MIT
License Family: permissive
Topics: diff, neovim, vscode, c, lua, diff-tool, git-diff, merge-conflict, mergetool, neovim-plugin, nvim, nvim-plugin
Last push: 2026-08-11T04:02:40+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 85, longevity 22
- inputs: {"age_days": 314, "days_push": 22, "days_rel": 22, "gap_med": 0, "n_releases_24m": 204}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1534, forks 92 (observed 2026-08-28T04:04:59.579272+00:00)

## What it is
A Neovim plugin that renders VSCode-style diffs with side-by-side or inline layouts and two-tier line/character-level highlighting, powered by the same C diff algorithm VSCode uses. It also provides git revision comparison, merge conflict resolution, and git history browsing.

## Use cases
- view side-by-side diffs in neovim like vscode
- review git changes with character-level highlighting
- resolve merge conflicts in neovim
- compare files between git commits branches or tags
- browse git history of a file in neovim
- toggle between unified and side-by-side diff layouts

## When to choose
- you want vscode-quality diff rendering inside neovim
- you need fast C-based diff computation with multi-core parallelization
- you want a built-in mergetool and git history viewer for neovim

## When to avoid
- you use an editor other than neovim
- you need a standalone CLI diff tool outside an editor
- you cannot download prebuilt binaries or compile C code

## Facets
- artifact type: plugin
- maturity: active
- function: developer-tools, version-control, code-review
- domain: developer-tools, version-control, text-editors
- platform: windows, cli
- tags: neovim-plugin, diff-viewer, git-diff, mergetool, vscode-style, side-by-side-diff, lua, ffi, neovim, linux, macos

## Member repositories
- esmuellert/codediff.nvim (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.579272+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-30T04:31:11.862874+00:00, confidence not recorded.
  - readme: https://github.com/esmuellert/codediff.nvim (fetched 2026-08-28T04:04:59.579272+00:00, sha c7ece9969e60)
- Data as of 2026-08-30T08:39:29.467469+00:00.
