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

How to use tuareg-menhir instead of tuareg-mode? #49

Open
fdagnat opened this issue Aug 31, 2020 · 0 comments
Open

How to use tuareg-menhir instead of tuareg-mode? #49

fdagnat opened this issue Aug 31, 2020 · 0 comments

Comments

@fdagnat
Copy link

fdagnat commented Aug 31, 2020

Hello

I prefer to use tuareg-menhir for my mly files. Right now, I must manually patch the opam-user-setup.el file to replace

  (add-to-list 'auto-mode-alist '("\\.ml[ilyp]?\\'" . tuareg-mode))

by

  (add-to-list 'auto-mode-alist '("\\.ml[ilp]?\\'" . tuareg-mode))
  (add-to-list 'auto-mode-alist '("\\.mly\\'" . tuareg-menhir))

The problem, is that I loose the (potential) updates later on because opam-user-update detect the manual modification and refuse to modify this part...

Is there a way to keep the best of both worlds?

Thank you

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

No branches or pull requests

1 participant