Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix: Make most syntaxHighlighting config fields optional#62817

Merged
varungandhi-src merged 2 commits into
mainfrom
vg/optional-hlconfig
May 22, 2024
Merged

fix: Make most syntaxHighlighting config fields optional#62817
varungandhi-src merged 2 commits into
mainfrom
vg/optional-hlconfig

Conversation

@varungandhi-src

@varungandhi-src varungandhi-src commented May 21, 2024

Copy link
Copy Markdown
Contributor

At the moment, too many fields are required, which means you need
to specify unnecessary fields when trying to modify only a single
field, such as mapping specific extensions to specific languages.

Fixes https://linear.app/sourcegraph/issue/GRAPH-612

Test plan

Added unit tests for configuration initialization

@cla-bot cla-bot Bot added the cla-signed label May 21, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels May 21, 2024
@varungandhi-src varungandhi-src requested a review from keynmol May 21, 2024 11:46
@varungandhi-src varungandhi-src enabled auto-merge (squash) May 21, 2024 13:49
@varungandhi-src varungandhi-src changed the title fix: Make highlighting config fields optional fix: Make most syntaxHighlighting config fields optional May 21, 2024
@varungandhi-src varungandhi-src disabled auto-merge May 21, 2024 13:56
@varungandhi-src varungandhi-src enabled auto-merge (squash) May 21, 2024 13:56
@varungandhi-src varungandhi-src force-pushed the vg/optional-hlconfig branch 2 times, most recently from 8f49aa0 to 4ad8b4d Compare May 22, 2024 06:10
@varungandhi-src varungandhi-src merged commit 4973440 into main May 22, 2024
@varungandhi-src varungandhi-src deleted the vg/optional-hlconfig branch May 22, 2024 06:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants