Matchit for Elixir
The the [elixir language][1], currently does not have support for the [vim-matchit][2] plugin,
adding this to your .vimrc
should fix that.
autocmd FileType elixir let b:match_words = '\<\%(case\|cond\|if\|unless\|try\|loop\|receive\|fn\|' .
\ 'defmodule\|defimpl\|defmacro\|defdelegate\|defexception\|defcallback\|defoverridable\|defp\|def\|test\)\>=\@!:' .
\ '\<\%(else\|elsif\|catch\|after\|rescue\)\>:' .
\ '\<end\>,{:},\[:\],(:)'
[1]: https://github.com/huffman/vim-elixir
[2]: http://www.vim.org/scripts/script.php?script_id=39
Written by Daiderd Jordan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Erlang
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#