neovim-ghcid


Ⅰ. 插件描述

Provides instant haskell error feedback inside of neovim, via ghcid.

Ⅱ. 基本信息

创建日期:  2016-08-19
使用用户:  1
Github星:  19
插件作者:  Alexis Sellier

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'cloudhead/neovim-ghcid'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'cloudhead/neovim-ghcid'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'cloudhead/neovim-ghcid'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/cloudhead/neovim-ghcid

Ⅳ. 文档说明

neovim-ghcid


NOTICE: This project is now part of ghcid.
Its new home is at https://github.com/ndmitchell/ghcid/tree/master/plugins/nvim


Provides instant haskell error feedback inside of neovim, via ghcid[1].
This should be a lot faster than running neomake with ghc-mod, and
also a lot simpler.

. Obligatory gif

https://github.com/cloudhead/images/raw/master/neovim-ghcid.gif

. Dependencies

. Installation

If you're using vim-plug, then add:

  Plug 'cloudhead/neovim-ghcid'

to your init.vim. Alternatively, copy the files to your .config/nvim
folder.

. Usage

':Ghcid' runs ghcid inside a neovim terminal buffer and populates
the quickfix list with any errors or warnings.

After every file save, the quickfix list is updated with the output
of ghcid.

':GhcidKill' kills the ghcid job.

添加新评论