Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 9 lines (7 sloc) 0.237 kb
1 2 3 4 5 6 7 8 9
from pygments.lexers import get_all_lexers, get_lexer_by_name

lexers = sorted(get_all_lexers())
choices = ()
for i in enumerate(lexers):
  print i[1][0], " : ", i[1][1][0]
  # choices = choices + ((i[1][0], i[1][0]),)

# print(choices)
Something went wrong with that request. Please try again.