Ticket #5 (closed defect: fixed)

Opened 8 years ago

Last modified 8 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:


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

let i = index(keylist,key)


let i = index(keys,key)

Change History

Changed 8 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:

  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.