LaTeX - Syntax highlighting for Elixir?

Hi there,

What is the best approach to achieve accurate syntax highlighting in your code snippets in LaTeX? I found this custom language definition that makes use of the listings package. It works great overall, but fails with keywords (you always need a space after a keyword). I am not much of a LaTeX person, so anyone who has some guidance on this subject?