Skip to content

gasparch/vim-elixir

 
 

Repository files navigation

vim-elixir

Build Status

Elixir support for vim

Description

Features:

  • Syntax highlighting for Elixir and EEx files
  • Filetype detection for .ex, .exs and .eex files
  • Automatic indentation

Installation

Plugin Managers

# pathogen
git clone https://github.com/elixir-lang/vim-elixir.git ~/.vim/bundle/vim-elixir
" vim-plug
Plug 'elixir-editors/vim-elixir'

" Vundle
Plugin 'elixir-editors/vim-elixir'

" NeoBundle
NeoBundle 'elixir-editors/vim-elixir'

Manual installation

Run ./manual_install.sh to copy the contents of each directory in the respective directories inside ~/.vim.

mix format Integration

We've decided not to include mix format integration into vim-elixir. If you'd like to set it up yourself, you have the following options:

  • For asynchronous execution of the formatter, have a look at vim-mix-format
  • Add it as a formatprg (e.g. set formatprg=mix\ format\ -)

Development

Run the tests: bundle exec parallel_rspec spec Spawn a vim instance with dev configs: bin/spawn_vim

About

Vim configuration files for Elixir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 47.2%
  • Vim Script 27.3%
  • Elixir 24.8%
  • Shell 0.7%