"Elitist" is almost always used as a pejorative. Just looking up the definition of it points to social power, wealth, class hierarchies, etc. It is rarely used to just mean "smart, capable, skilled" in a neutral sense.
The comment above was clearly using it as a pejorative.