https://github.com/tmbb/makeup_erlang/blob/04751d8ce7dba517dfa9bc6cf6a0076071e8cd41/lib/makeup/lexers/erlang_lexer.ex#L125-L131
The only reason we might need the lexeme is if we need to pattern match on variable names later, for grouping purposes, for example. I believe I do that in the Elixir lexer (I haven't looked at the source in some time).