ocaml-opam / opam-user-setup

Simplify the configuration of editors for using OCaml tools
Other
81 stars 12 forks source link

fix of vim setup #23

Closed pierregobin closed 6 years ago

pierregobin commented 8 years ago

In version 0.4, vim setup is using the vim function "systemlist" that is presumably supposed to split a system output into a list. Unfortunately, this function does not seem to exist on current vim version. This patch is proposing a substitution of systemlist by more common set of functions.

AltGr commented 8 years ago

Thanks! But I think this was fixed already by 5b94ca9f22126ae7946b68b341800e635b208ba1, as your (rebased, I assume) patch doesn't actually remove a systemlist.

But the opam package (0.4) is much lagging behind indeed, this needs a new release! Thanks for reminding me. In the meantime, you can solve the issue by using the dev version in opam with opam pin add user-setup --dev

pierregobin commented 8 years ago

Thx for the reply - I have some issue with the dev version : after pinning, when I do opam install user-setup it fails because no Makefile is provide. (when doing opam source user-setup, I got an opam file and a opam-user-setup.git file which contains html ...

AltGr commented 8 years ago

It may be an issue with the compatibility of the format of urls among opam versions. Try explicitely: `opam pin add user-setup "https://github.com/AltGr/opam-user-setup.git"|

AltGr commented 6 years ago

It seems this is no longer relevant. Thanks!