Skip to content

Vim plugin providing Elixir code completion

License

Notifications You must be signed in to change notification settings

viastakhov/moonshiner.vim

Repository files navigation

moonshiner.vim

Vim plugin providing Elixir code completion.

License

Features:

  • Code completion for functions.
  • Windows platform support.

Note: this plugin does not support Linux platform at the moment. Please refer to the issue #3.

Installation

Environment requirements

  • Erlang/OTP >= 21
  • Elixir >= 1.10.2

Plugin manager

Add following plugins into .vimrc:

" Using vim-plug
Plug 'elixir-editors/vim-elixir'
Plug 'viastakhov/moonshiner.vim'

Install plugins and reload vim application.

Usage

Code completion

This plugin uses omni-completion feature, so that in order to call code completion you have to press following keys in INSERT mode:

<C-x>-<C-o>

Credits

This plugin uses ElixirSense, an API/Server for Elixir projects that provides context-aware information for code completion, documentation, go/jump to definition, signature info and more.

License

Copyright © 2020 Vladimir Astakhov [[email protected]]

Distributed under the Eclipse Public License 1.0.