Skip to content

fix utoprc templates to mention the correct path (changed by #484) #506

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

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

qexat
Copy link
Contributor

@qexat qexat commented Aug 8, 2025

The path for utoprc used to be $XDG_CONFIG_HOME/utoprc, but #484 has changed it to $XDG_CONFIG_HOME/utop/utoprc -- as the former was rightfully deemed incorrect.

However, the utoprc-dark and utoprc-light templates were not updated in the process ; this PR fixes exactly that.


It's worth mentioning that the aforementioned PR introduced a breaking change: people with their utoprc in the previous location will not have code highlighting working anymore, and it is not necessarily clear why that is. I think there should be a transition period where a warning is shown if a utoprc is found in .config/ instead of .config/utop/.

@qexat qexat requested a review from rgrinberg as a code owner August 8, 2025 10:09
@Octachron
Copy link
Member

Thanks for the fix !

Emitting a warning for misplaced .utoprc sounds like a good idea. I would be willing to merge such PR; however, I don't have the bandwidth to implement it personally.

@qexat
Copy link
Contributor Author

qexat commented Aug 8, 2025

I think I'll work on it tomorrow (CEST)

@Octachron Octachron merged commit 33201e6 into ocaml-community:master Aug 12, 2025
3 checks passed
@qexat qexat deleted the fix/utoprc-templates branch August 12, 2025 15:06
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.

2 participants