Skip to content

Keep plugin id of cabal-fmt in sync with default config id #3615

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Jun 5, 2023

Conversation

VeryMilkyJoe
Copy link
Collaborator

Add documentation to note that these values are to be kept in sync

Fixes #3613

@VeryMilkyJoe VeryMilkyJoe requested a review from berberman as a code owner May 30, 2023 12:00
Add documentation to note that these values are to be kept in sync
@michaelpj
Copy link
Collaborator

Could we do this with an actual type somehow?

@fendor
Copy link
Collaborator

fendor commented Jun 1, 2023

How? PluginIds are strings, and the formatting providers have been strings so far... I don't see how we can do that, without killing the Default instance or hard-coding the plugin ID of a plugin in hls-plugin-api.

@michaelpj
Copy link
Collaborator

Argh yes, it's in hls-plugin-api. that's awkward :/

@michaelpj michaelpj enabled auto-merge (squash) June 2, 2023 07:36
@michaelpj michaelpj merged commit 3bc4196 into haskell:master Jun 5, 2023
@fendor fendor mentioned this pull request Aug 8, 2023
19 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cabal-fmt plugin is not active for formatting
3 participants