nvim-elixir


Ⅰ. 插件描述

A repackage of awetzel/vim-elixir with only the neovim bits + support for deoplete.

Ⅱ. 基本信息

创建日期:  2015-12-10
使用用户:  1
Github星:  15
插件作者:  Blaž Hrastnik

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/archseer/nvim-elixir

Ⅳ. 文档说明

# elixir.nvim (with deoplete support)

This plugin is discontinued in favour of using alchemist.vim, which adds proper non-blocking async completion (and a whole ton of other useful features)

autocomplete

This plugin is a repackage of awetzel's excelent vim-elixir fork
(https://github.com/awetzel/vim-elixir/tree/nvim-rplugin).

I found it a bit hard to install, and it didn't work with Shougo's deoplete plugin.
So I forked it, and added a custom source for deoplete. This means that
completion patterns are now happening asynchronously and will not block the
editor like omnicomplete.

Features

  • Load nearest mix project in current file path with :MixLoad
  • Start the current mix project application inside your vim: :MixStart
  • Interpret the currently selected Elixir Code with :ElixirExec

    • If no line selected, then the whole file is interpreted, useful to dynamically reload current file modules when the app runs with :MixStart
    • Bindings are kept along interpretations
    • You can reset binding using the bang: :ElixirExec!

Installation

Install it using the package manager of your choosing (or just copy it into your
vim directory). Then run :UpdateRemotePlugins inside your neovim.

Because this fork now contains only neovim specific code, you're advised to also
run the official package (https://github.com/elixir-lang/vim-elixir/) -- this
package is intended only as an enhancement.

Plug 'elixir-lang/vim-elixir'
Plug 'archSeer/elixir.nvim'

添加新评论