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 make ocp-indent ignore certain files? #243

Open
ghost opened this issue Mar 7, 2017 · 2 comments
Open

How to make ocp-indent ignore certain files? #243

ghost opened this issue Mar 7, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2017

Hello,

I'd like to ask whether it is possible to make ocp-indent ignores certain file names?
For me, ocp-indent seems doesn't work well with camlp4 files, I always mess up the indentation of those files when ocp-indent is enabled. So, I wonder if it is possible to make ocp-indent ignores those files?

Thank you for taking your time to look at my question!

@AltGr
Copy link
Member

AltGr commented Mar 7, 2017

Not sure what you mean: ocp-indent the base tool is run from the command-line, explicitely on a file.

So you probably mean the emacs or vim mode ? In this case, there is already code to ignore .mll, .mly (see here): that should probably be made a configurable list.

@ghost
Copy link
Author

ghost commented Mar 7, 2017

Thank you for the suggestion.
I'm using ocp-indent with Emacs. (and sorry for the confusion caused in the first place)

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