# neovim/neovim SLOC report

> As of 2026-09-21 (commit 222c615c8a4b), neovim/neovim contains 1,040,734 total lines: 726,800 code, 194,297 comments, 119,637 blank, across 2,663 files in 26 languages (top: C 37.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

neovim/neovim has 726,800 source lines of code out of 1,040,734 total lines across 2,663 files, counted from the master ref at commit 222c615c8a4b by the OctoCounts tokei engine on 2026-09-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving neovim/neovim to commit 222c615c8a4b, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 69.8% of all lines, comments represent 18.7%, and the repository averages 273 code lines per file. C accounts for 37.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 218 | 357,694 | 273,842 | 51,463 | 32,389 |
| Vim Script | 1,764 | 264,896 | 236,752 | 15,548 | 12,596 |
| PO File | 31 | 239,793 | 112,559 | 68,065 | 59,169 |
| Lua | 220 | 137,265 | 77,646 | 50,168 | 9,451 |
| C Header | 298 | 23,061 | 16,538 | 3,456 | 3,067 |
| CMake | 41 | 3,663 | 2,854 | 332 | 477 |
| Scheme | 20 | 1,726 | 1,291 | 122 | 313 |
| Zig | 7 | 1,503 | 1,291 | 46 | 166 |
| JavaScript | 5 | 1,380 | 1,139 | 81 | 160 |
| Shell | 7 | 1,474 | 1,126 | 156 | 192 |
| Forge Config | 1 | 3,771 | 884 | 2,015 | 872 |
| Python | 3 | 229 | 171 | 13 | 45 |

Top language (C 37.7%). Generated at 2026-09-21T09:03:27.407168889+00:00. Canonical report: https://octocounts.com/github/neovim/neovim

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/neovim/neovim/commit/222c615c8a4be896e93db576b2103c33683a07e2?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does neovim/neovim have?

neovim/neovim has 1,040,734 total lines, including 726,800 code lines, 194,297 comment lines, and 119,637 blank lines.

### How was the neovim/neovim line count measured?

OctoCounts resolved the public GitHub repository to commit 222c615c8a4b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for neovim/neovim?

This OctoCounts report was generated from master at commit 222c615c8a4b on 2026-09-21T09:03:27.407168889+00:00.

## Similar repository reports

- [n64decomp/sm64](https://octocounts.com/github/n64decomp/sm64) — C, 652,313 code lines
- [uroni/urbackup_backend](https://octocounts.com/github/uroni/urbackup_backend) — C, 843,548 code lines
- [JFeng-Z/MiaoUI](https://octocounts.com/github/JFeng-Z/MiaoUI) — C, 882,699 code lines
- [dovecot/core](https://octocounts.com/github/dovecot/core) — C, 558,915 code lines
- [999sian/melee-pc](https://octocounts.com/github/999sian/melee-pc) — C, 557,579 code lines
- [riscvarchive/riscv-qemu](https://octocounts.com/github/riscvarchive/riscv-qemu) — C, 910,920 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
