Skip to content

merlin: introduce generate_merlin_rules - #10328

Closed
jchavarri wants to merge 3 commits into
ocaml:mainfrom
jchavarri:merlin/add-generate-rules-field
Closed

jchavarri wants to merge 3 commits into
ocaml:mainfrom
jchavarri:merlin/add-generate-rules-field

Conversation

@jchavarri

@jchavarri jchavarri commented Mar 28, 2024 •

Copy link
Copy Markdown
Collaborator

Alternate implementation to #10325.

Instead of enabling merlin rules for all contexts, this PR applies the suggestion from #10325 (comment), by adding a generate_merlin_rules field that can be used from each context to opt-in for this behavior.

@jchavarri
jchavarri force-pushed the merlin/add-generate-rules-field branch from f5e5270 to dc13809 Compare March 28, 2024 16:52
Signed-off-by: Javier Chávarri <[email protected]>
@jchavarri jchavarri added the merlin Merlin editor support and its interface with dune label Mar 28, 2024
@rgrinberg

Copy link
Copy Markdown
Member

This looks like the right approach. I think you should combine this PR with #10328. It will be easier for me to asses the final result this way and the value of all of these configuration options. It would also make it easier for me to test it.

@jchavarri

Copy link
Copy Markdown
Collaborator Author

Thanks for the feedback. I incorporated these changes in #10324.

@jchavarri jchavarri closed this Apr 2, 2024
@jchavarri
jchavarri deleted the merlin/add-generate-rules-field branch April 2, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merlin Merlin editor support and its interface with dune

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants