ghc.vim


Ⅰ. 插件描述

Vim Haskell GHC compiler plugin [official]

Ⅱ. 基本信息

创建日期:  2016-11-29
使用用户:  1
Github星:  1
插件作者:  Daniel Campoverde

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/alx741/ghc.vim

Ⅳ. 文档说明

# Vim GHC

Official Haskell GHC compiler plugin distributed in Vim's runtime.

To be used for the :make command in order to properly load errors and warnings
on the quickfix list.

Installation

If your Vim's runtime is up to date you should already have it, if not, you can
install it as a normal plugin.

Compatible with Vundle, Vim-plug, Pathogen, etc.

Usage

Set the compiler with :compiler ghc.

Or add an auto command to your .vimrc file:

augroup ft_haskell
    au!
    au FileType haskell compiler ghc
augroup END

添加新评论