merlin
merlin copied to clipboard
Allow jump to an enclosing module type
The current jump command allows jumps to an enclosing fun, let, module, or match. It would be great to also add support for module types, perhaps by adding the sig target.
Do you mean jumping to the enclosing sig ... from inside the signature ? Jumping to the module binding seems already quite close to that.
Yes, exactly. How is jumping to a module binding the same?
There are definitely some cases that could be added to the jump command like sig and struct. It also lacks the module type binding case.
Hi @goldfirere!
PR #1728 implements the behaviour proposed by @voodoos here, is the fix enough or do you really want to jump to sig enclosing specifically?
Hello @xvw! Welcome! Yes, that looks like the fix. Thanks.