Repository navigation
feat(helix): a languages.toml fragment gives mcppls the C and C++ languages in Helix - #91
Merged
Merged
Conversation
…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
force-pushed
the
feat/helix-fragment
branch
from
November 21, 2026 08:31
3fba6e9 to
26cdf11
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Helix has no plugin system in a release, so mcppls reaches it as configuration.
editors/helix/languages.tomldeclaresmcppls serveand gives it thecppandclanguages, withclangd left out (mcppls starts its own, with a module database). A list in Helix's
languages.tomlreplaces Helix's own, so the
cppentry repeats Helix 25.07's C++ file types and adds the modulesuffixes (
.ccm,.cxxm,.c++m,.mpp,.mxx) and.mcpp, so that mcpp'sbuild.mcppis C++.editors/helix/: the fragment and its README (install, beside mcpp-ide, keeping mcppls off for oneproject, what was run).
docs/10-editors.mdanddocs/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:mcpplsis the configured server, found on PATH.build.mcppandsrc/core.cppmof an mcpp project: Helix startsmcppls serveand openseach document with
languageIdcpp(Helix's log,hx -v).CI does not run Helix.