Open adam-singer opened 7 years ago
I ended up doing this, which is better but not perfect:
let moved = 0
autocmd FileType haskell autocmd CursorMoved *
\ exec "GhcModTypeClear" |
\ let moved = 1
autocmd FileType haskell autocmd CursorHold *
\ if moved == 1 |
\ exec "GhcModType" |
\ let moved = 0 |
\ endif
set updatetime=500
Would be nice to have async versions of
GhcModInfoPreview
andGhcModInfo
. I'm looking to wire upbut the calls tend to have a higher lag time then expected.