summaryrefslogtreecommitdiffstats
path: root/scripts/get_lexer_list.py
blob: 31e8e36508e2e309ca65253c6bfa562f3597f321 (plain)
1
2
3
4
5
6
7
#!/usr/bin/python

import pygments.lexers

for fullname, names, exts, _ in pygments.lexers.get_all_lexers():
    for name in names:
        print(("%s|%s") % (name, fullname))