Ⅰ. 插件描述
Increse your Haskell development via ghcid!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'aiya000/vim-ghcid-quickfix'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'aiya000/vim-ghcid-quickfix'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'aiya000/vim-ghcid-quickfix'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/aiya000/vim-ghcid-quickfix
Ⅳ. 文档说明
# :gift: vim-ghcid-quickfix :gift:
- -
Increse your Haskell development via ghcid!
- -
This allows to open ghcid as the quickfix buffer, by :GhcidQuickfixStart.
When you edited a .hs, it reloads automatically!

(quickfix_on_error)
(popup-always)
You can read compile errors/warnings by about 1sec.
:grey_exclamation: Requirements :grey_exclamation:
- ghcid to your
$PATH - Vim 8.0 or later with
+terminal
:dizzy: How to install :dizzy:
No package manager
clone this repo into $MYVIMRC/pack/haskell/start/
dein.vim
call dein#add('aiya000/vim-ghcid-quickfix')dein.vim with toml
[[plugins]]
repo = 'aiya000/vim-ghcid-quickfix':grey_exclamation: Configuration :grey_exclamation:
Auto open QuickFix window upon errors:
let g:ghcid_quickfix = #{
\ showing: 'quickfix_on_error',
\ }Or 'popup_always' to popup all lines, using Vim's popup window.
let g:ghcid_quickfix = #{
\ showing: 'popup_always',
\ }Please see :help g:ghcid_quickfix_showing to more informations.