[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Merlin from Vim



On 7 Oct 2013, at 22:22, Charalampos Rotsos <cr409@xxxxxxxxxxxx> wrote:

> On 10/04/13 at 11:08P, Anil Madhavapeddy wrote:
>> I finally got around to installing the Merlin OCaml editor add-on, and it 
>> gives amazing features such as type display, module completion and support 
>> for hopping around projects.  See my little Vim-Merlin from scratch here:
>> 
>> http://anil.recoil.org/2013/10/03/merlin-and-vim.html
>> 
>> I suspect we'll need some more .merlin files in the various repos, so I'll 
>> add those as I go along.  Has anyone else been using Merlin (e.g. on Emacs?)
>> 
>> -a
>> 
>> 
> 
> I have been giving it a try for the last month and it works great. My only
> problem, which I haven't searched in depth to see how I can fix, is that it
> doesn't seem to work when you rename modules. 
> 
> e.g. If do 
> module OP = Openflow.Ofpacket
> 
> I will never get autocomplete when I type OP.

I've noticed this too... I suspect this will be fixed when we build cmt files 
(-bin-annot) unconditionally, since that's where the compiler stashes all the 
module path information.  Without it, the editor is guessing.

-anil




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.