Ticket #5 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

_? in gvim always calls IDoc("...", -1)

Reported by: MSch Owned by: claus
Priority: major Milestone:
Component: ftplugin/haskell_doc.vim Version: 20090407
Keywords: Cc:

Description

I fixed the bug by changing line 520 of haskell_doc.vim from

let i = index(keylist,key)

to

let i = index(keys,key)

Change History

Changed 6 years ago by claus

  • status changed from new to closed
  • resolution set to fixed

Thanks for the report. The fix was slightly more complicated, as there were several use cases, other features interfering, and awkward code logic:

15/04/2009
  haskell_doc.vim: fix ticket #5 - it turns out that the 04/04/ fix of _? fixed 
                    one use case while breaking another; the logic there was getting
                    too complicated and fragile; now somewhat straightened out (no
                    more indirection via IDoc, no more separate indices for keys with
                    or without namespace tag, simplified conditions, comments clarify
                    what should happen when, ..); tested with qualified/unqualified
                    items, qualified/qualfied as/unqualified imports, imported and
                    non-imported items; please test _? and report any issues with 
                    the rewritten code
Note: See TracTickets for help on using tickets.