Ⅰ. 插件描述
cumino is the Vim's way to prepare Haskell recipies.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'adinapoli/cumino'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'adinapoli/cumino'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'adinapoli/cumino'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/adinapoli/cumino
Ⅳ. 文档说明
Cumino
Cumino is the vim way to prepare Haskell recipies:
Prerequisites
- Vim with Python support enabled
- Tmux >= 1.5
A terminal emulator
- Cumino was tested against gnome-terminal, xterm, urxvt and mlterm.
Features
- Send to ghci your type, function and instances definitions
- Type your function invokation in Vim an watch them be evaluated in Ghci
- Test in insolation snippet of code sending visual selection to ghci
- Show the type of the function under the cursor
- Possibility to set a list of ghci flags inside your .vimrc (e.g, -XOverloadedString)
- Test your code environmentwise: if an Hsenv
sandbox environment is activated, Cumino automatically starts
the ghci associated with that environment.
Installation
Like any other Pathogen bundle.
Contribute
Yes, please. You can open an issue or fork fix and pull, like usual.