Code Monkey home page Code Monkey logo

vim-elixir's Introduction

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
  • Integration between Ecto projects and vim-dadbod for running SQL queries on defined Ecto repositories

Installation

Plugin Managers

# vim 8 native package loading
# http://vimhelp.appspot.com/repeat.txt.html#packages
git clone https://github.com/elixir-lang/vim-elixir.git ~/.vim/pack/my-packages/start/vim-elixir
# 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

vim-elixir's People

Contributors

jbodah avatar kassio avatar carlosgaldino avatar mhinz avatar lnl7 avatar ericmj avatar iurifq avatar rafaelfranca avatar hauleth avatar thinca avatar lmarlow avatar whatyouhide avatar guedes avatar jparise avatar meh avatar duggiefresh avatar gasparch avatar reinh avatar jsvisa avatar morhetz avatar flupke avatar ayarulin avatar lstor avatar asymmetric avatar lpil avatar lukebakken avatar moofish32 avatar styx avatar shulcsm avatar navargas avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.