Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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

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
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.

Cabal-fmt plugin is not active for formatting
3 participants