Skip to content

Commit

Permalink
Do not hightlight the inline block do collon
Browse files Browse the repository at this point in the history
  • Loading branch information
kassio committed Sep 21, 2016
1 parent 093f266 commit 04d9038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/elixir.vim
Expand Up @@ -56,7 +56,7 @@ syn match elixirAtom '\(:\)\@<!:\%([a-zA-Z_]\w*\%([?!]\|=[>=]\@!\)\?\|<>\|===\
syn match elixirAtom '\(:\)\@<!:\%(<=>\|&&\?\|%\(()\|\[\]\|{}\)\|++\?\|--\?\|||\?\|!\|//\|[%&`/|]\)'
syn match elixirAtom "\%([a-zA-Z_]\w*[?!]\?\):\(:\)\@!"

syn match elixirBlockInline "\<\(do\|else\)\>:"
syn match elixirBlockInline "\<\(do\|else\)\>:\@="

syn match elixirAlias '\<[!]\?[A-Z]\w*\(\.[A-Z]\w*\)*\>'

Expand Down

0 comments on commit 04d9038

Please sign in to comment.