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

Support for opam-based environments #4

Open
hcarty opened this issue Aug 2, 2018 · 1 comment
Open

Support for opam-based environments #4

hcarty opened this issue Aug 2, 2018 · 1 comment

Comments

@hcarty
Copy link

hcarty commented Aug 2, 2018

When using opam without esy, #3 allows vim to start editing Reason or OCaml without immediately throwing up errors. Unfortunately none of the :MerlinTypeOf and similar commands are available for me when editing Reason code when using:

  • opam
  • merlin and reason pinned to --dev-repo
  • This plugin + the vim plugin that comes with Merlin

Automatic error highlighting on save does work and is wonderful. I'm using ALE if that makes a difference.

@hcarty
Copy link
Author

hcarty commented Aug 2, 2018

I suspect there's a detection issue somewhere. If I have a *.re file open and manually run

:let res = merlin#Register()

then I have access to :MerlinTypeOf and friends.

@hcarty hcarty changed the title Support when using opam Support for opam-based environments Aug 3, 2018
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