lukerandall / haskellmode-vim

An unpacked copy of the haskellmode vimball. Ping me if it needs updating.
http://projects.haskell.org/haskellmode-vim/
BSD 3-Clause "New" or "Revised" License
135 stars 21 forks source link

Caching for type information #11

Closed johtela closed 10 years ago

johtela commented 10 years ago

Hi Luke,

Can you consider pulling from my fork? I added a feature to store GHCi generated type information in a cached file. This speeds up the type information and omni-completion commands and makes them much more usable when used with big modules such as OpenGL. Now they don't have to consult GHCi for type information every time a file is reopened. It is left up to the user to reload the type information from GHCi using GHCReload. Otherwise the cached information is used whenever available.

I also updated the documentation and fixed a minor issue in the initialization of the b:my_changedtick variable.

Best Regards, Tommi Johtela

lukerandall commented 10 years ago

Hey Tommy. Sorry I've taken so long to respond; I've missed all the notifications on pull requests! I shall merge this right away.