Skip to content

Add isolated C++ and CMake highlighting - #17

Merged
tannerlinsley merged 1 commit into
mainfrom
taren/cpp-cmake-languages
Sep 11, 2026
Merged

tannerlinsley merged 1 commit into
mainfrom
taren/cpp-cmake-languages

Conversation

@tannerlinsley

Copy link
Copy Markdown
Member

Add isolated C++ and CMake definitions for documentation fences. C++ handles raw and prefixed strings, character literals, digit separators, includes, and common aliases. CMake handles bracket strings/comments, nested variable references, generator expressions, and flow commands.

The shared core and existing selective bundles are unchanged. Both languages together add 955 gzip bytes to the all-language bundle on Node 24.15.0, taking it from 8,663 to 9,618 bytes. Add dedicated selective bundle checks and runtime profiles for both languages, and update docs, skills, and the release changeset.

Validation: full pnpm run verify passes, including 100 tests, public package imports, isolation checks, bundle budgets, and all throughput profiles.

Fixes #12.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 53 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 9762b529-b193-4d7e-80df-ddf7b7a1d04f

📥 Commits

Reviewing files that changed from the base of the PR and between 629124b and 6f0dd9c.

📒 Files selected for processing (19)
  • .changeset/cpp-cmake.md
  • README.md
  • docs/guides/performance.md
  • docs/installation.md
  • docs/language-support.md
  • docs/reference/default-entry.md
  • docs/reference/languages.md
  • docs/test-strategy.md
  • scripts/bench.mjs
  • scripts/language-utils.mjs
  • scripts/measure-size.mjs
  • skills/configure-selective-highlighting/references/languages.md
  • src/index.ts
  • src/languages/cmake.ts
  • src/languages/cpp.ts
  • src/languages/index.ts
  • test/cpp-cmake.test.ts
  • test/fixtures.ts
  • test/real-doc-fixtures.test.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tannerlinsley
tannerlinsley merged commit 71594ad into main Sep 11, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

Add C++ and CMake language support

1 participant