Allow a clangd configuration to inherit values from another configuration #8

Closed
opened 2026-07-20 13:10:31 -04:00 by kevintl1998 · 0 comments
Owner

So a 'base' configuration can be created with common settings which can be reused. Will also help simplify configurations for larger projects.

Values in the inherited config should be overridden by values in the config inheriting it. e.g. inherited: {"defines": {"d1": "v1", "d2": "v2"}}, inheritee(?): {"defines": {"d1": "v3"}}, modified config: {"defines": {"d1": "v3", "d2": "v2"}}
Currently I think that this should be a flag option. e.g. "@<config>": "inherit=<other_config>"

So a 'base' configuration can be created with common settings which can be reused. Will also help simplify configurations for larger projects. Values in the inherited config should be overridden by values in the config inheriting it. e.g. inherited: `{"defines": {"d1": "v1", "d2": "v2"}}`, inheritee(?): `{"defines": {"d1": "v3"}}`, modified config: `{"defines": {"d1": "v3", "d2": "v2"}}` Currently I think that this should be a flag option. e.g. `"@<config>": "inherit=<other_config>"`
kevintl1998 added reference configuration_inheritance 2026-07-22 15:00:32 -04:00
kevintl1998 added this to the Release 1.0 milestone 2026-07-22 15:37:16 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kevintl1998/yapp-clangd.nvim#8
No description provided.