Skip to content

Commit

Permalink
No need to escape '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgaldino committed Mar 12, 2012
1 parent fe2799e commit d20cb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/elixir.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif
syn match elixirComment '#.*'

syn match elixirKeyword '\<\%(case\|end\|bc\|lc\|if\|unless\|try\|loop\|receive\|fn\|defmodule\|defprotocol\|defimpl\|defrecord\|defmacro\|defdelegate\|defexception\|defp\|def\|exit\|raise\|throw\)\>[?!]\@!'
syn match elixirKeyword '\<\%(do\|\->\)\>\s*'
syn match elixirKeyword '\<\%(do\|->\)\>\s*'
syn match elixirKeyword '\<\%(import\|require\|use\|recur\|quote\|unquote\|super\)\>[?!]\@!'

syn match elixirOperator '\<\%(and\|not\|or\|when\|xor\|in\)\>'
Expand Down

0 comments on commit d20cb7f

Please sign in to comment.