begriffs / haskell-vim-now

One-line Haskell Vim install
MIT License
988 stars 100 forks source link

autocomplete returns pattern not found #232

Open corymickelson opened 7 years ago

corymickelson commented 7 years ago

Ctrl-Space on import System.Directory (get) returns pattern not found error? On Linux System. Do I need to add YouCompleteMe or neocomplete or deoplete or some other completion engine for this functionality? Thanks

begriffs commented 7 years ago

Does ctrl-space ever work for you in some projects, or does it fail 100% of the time? I'm suspecting a ghc-mod incompatibility with your project, for instance if ghc-mod was built using a different version of cabal than that which build your project. Are you able to successfully inspect the type of the expressions under the cursor using ,ht?

begriffs commented 7 years ago

@corymickelson I'd like to help debug this issue with you if you're still interested. Can you confirm whether you're able to find the type of symbols using ,ht?