Skip to content

Commit

Permalink
Merge pull request #35 from elixir-lang/match-directives-as-special-m…
Browse files Browse the repository at this point in the history
…ethods

Match directives
  • Loading branch information
keathley committed Feb 8, 2016
2 parents f1ec9ea + 1805e60 commit 6146b07
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion grammars/elixir.cson
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
]
}
{
'match': '(?<!\\.)\\b(do|end|case|bc|lc|for|if|cond|with|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defmacrop?|defdelegate|defcallback|defexception|defoverridable|exit|after|rescue|catch|else|raise|throw|import|require|alias|use|quote|unquote|super|when)\\b(?![?!])'
'match': '(?<!\\.)\\b(alias|require|import|use)\\b(?![?!])'
'name': 'keyword.other.special-method.elixir'
}
{
'match': '(?<!\\.)\\b(do|end|case|bc|lc|for|if|cond|with|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defmacrop?|defdelegate|defcallback|defexception|defoverridable|exit|after|rescue|catch|else|raise|throw|quote|unquote|super|when)\\b(?![?!])'
'name': 'keyword.control.elixir'
}
{
Expand Down

0 comments on commit 6146b07

Please sign in to comment.