Skip to content

feat(helix): a languages.toml fragment gives mcppls the C and C++ languages in Helix - #91

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/helix-fragment
Nov 21, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
feat/helix-fragment

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Owner

Summary

Helix has no plugin system in a release, so mcppls reaches it as configuration.
editors/helix/languages.toml declares mcppls serve and gives it the cpp and c languages, with
clangd left out (mcppls starts its own, with a module database). A list in Helix's languages.toml
replaces Helix's own, so the cpp entry repeats Helix 25.07's C++ file types and adds the module
suffixes (.ccm, .cxxm, .c++m, .mpp, .mxx) and .mcpp, so that mcpp's build.mcpp is C++.

  • editors/helix/: the fragment and its README (install, beside mcpp-ide, keeping mcppls off for one
    project, what was run).
  • docs/10-editors.md and docs/zh-CN/10-editors.md: a Helix section; editors/README.md: its row.
  • .github/components.tsv: editors/helix/* is documentation to CI; there is nothing to build.

It is the mcppls side of the editor design of mcpp-ide
(mcpp-community/mcpp-ide, .agents/docs/2026-11-21-editor-surfaces-and-feature-matrix.md, task X2):
each repository owns its integrations, and the C and C++ language entry of an editor is mcppls's.
mcpp-ide's own Helix fragment attaches to the TOML language only, so the two merge without editing
each other.

What ran

Helix 25.07.1 on Linux x86_64, with this fragment as the only languages.toml:

  • hx --health cpp: mcppls is the configured server, found on PATH.
  • Opening build.mcpp and src/core.cppm of an mcpp project: Helix starts mcppls serve and opens
    each document with languageId cpp (Helix's log, hx -v).

CI does not run Helix.

…guages in Helix

Helix has no plugin system in a release, so mcppls reaches it as
configuration: editors/helix/languages.toml declares mcppls serve and sets
the cpp and c languages' servers to mcppls alone, with the module suffixes and
.mcpp (mcpp's build.mcpp) added to Helix's C++ file types. A list given there
replaces Helix's, so the fragment repeats Helix 25.07's types. Run in Helix
25.07.1: hx --health cpp finds the server, and opening build.mcpp and a .cppm
starts it with the language cpp. mcpp-ide serves mcpp.toml through the TOML
language and does not attach to C or C++, so the two fragments merge as they
are.
@Sunrisepeak
Sunrisepeak merged commit bcb51f3 into main Nov 21, 2026
152 of 154 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.

1 participant