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

Add options to turn off haskellmode's completion. #13

Closed dkasak closed 10 years ago

dkasak commented 10 years ago

This patch adds options for turning off haskellmode's completion since it currently tramples over the omnifunc (with GHC_CompleteImports) and completefunc (with CompleteHaddock), regardless of whether it is already set. This is a problem if the user wants to set omnifunc/completefunc to something else (e.g. if the user is using necoghc or an autocompletion system like YCM or neocomplete). The names of the added options are g:haskellmode_completion_ghc and g:haskellmode_completion_haddock.

JorisM commented 10 years ago

+1

lukerandall commented 10 years ago

Sorry to have missed this for so long. Looks good.