Add val and var as xtend keywords by ebousse · Pull Request #2602 · pygments/pygments

The current Xtend support does not highlights two important keywords of the language, namely val and var, which allow declaring variables.

Example:

class Hello {
   def sayHello() {
      val message = "Hello world"
      println(message)
   }
}

When processed with Pygments, we get:

image

This PR fix this problem by adding these two keywords to the appropriate list.