-
Notifications
You must be signed in to change notification settings - Fork 63
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
Problem with ocamllex syntax #218
Comments
+1, I am having a really bad time with .mll and .mly files |
Indeed, syntax for .mll and .mly files is quite different.
M-: (setq-local ocp-indent-syntax '("mll"))
In any case, you can locally disable ocp-indent while in tuareg-mode using M-: (progn (kill-local-variable 'indent-line-function) (kill-local-variable 'indent-region-function) (tuareg--common-mode-setup)) |
Thanks for those tips! It would be great to have ocp-indent automatically disabled from tuareg on |
Halbaroth
added a commit
to Halbaroth/alt-ergo
that referenced
this issue
Aug 29, 2023
Halbaroth
added a commit
to Halbaroth/alt-ergo
that referenced
this issue
Sep 15, 2023
Halbaroth
added a commit
to Halbaroth/alt-ergo
that referenced
this issue
Sep 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that
ocp-indent
works badly with parsing rules in.mll
files.However, it is automatically activated by the tuareg hook.
The text was updated successfully, but these errors were encountered: