Matchit for Elixir
The the elixir language, currently does not have support for the vim-matchit 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\>,{:},\[:\],(:)'
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#