Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'neovimhaskell/nvim-hs-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'neovimhaskell/nvim-hs-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'neovimhaskell/nvim-hs-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/neovimhaskell/nvim-hs.vim
Ⅳ. 文档说明
# nvim-hs.vim
This repository/plugin contains functions to help start a
nvim-hs plugin as a separate
process.
More detailed help is available via :help nvim-hs.txt once this plugin is
installed.
Installation
Install this as you would any other github-based plugin.
If you use vim-plug, simply add
it as a plugin:
Plug 'neovimhaskell/nvim-hs.vim'If you have a preference for a tool chain, configure the variableg:nvimhsPluginStarter. By default stack is used. The following starters are
shipped with this plugin, simply copy and paste the one you like to your neovim
configuration:
let g:nvimhsPluginStarter=nvimhs#stack#pluginstarter()For plugin authors
The functions provided use the user-specified plugin starter to build and
start an nvim-hs-plugin. Since stack is used as the default and because of
its reproducibility, I would strongly recommend adding a working stack.yaml
configuration file to the repository.
Other than that, you are free to enrich your user's experience by providing
other means of installation, such as a shell.nix file for your nix user base.