/neovim-ghcmod

Primary LanguageVim ScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

ABANDONED

NecoGhc combined with Deoplete are a way better solution to get code completion running for neovim. Please give it a try!

Neovim ghc-mod Integration

This plugin offers GhcMod support for Neovim. It's still in a very early stage.

  • GhcModCaseSplit: split the pattern variable under the cursor (saves current file)
  • GhcModAddDecl: inserting function declaration based on type signature under the cursor (saves current file)
  • GhcModRefine: prompts for an expression and refines the hole under the cursor (saves current file)

This feature requires ghc-modi.

You can configure an explicit path to your ghc-modi binary if needed by setting g:ghc_modi_executable.

Demo