diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-10-22 15:42:07 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-10-22 22:36:55 +0200 |
commit | de02b8cb514a95c100d0ec11ab469acfc687ca00 (patch) | |
tree | 9c09a70f4ac2b582ae80dd6e065f700ef460ed11 /scripts/get_lexer_list.py | |
parent | 36f0185d8c950933099268c69081cabc084545c9 (diff) |
switch design to bootstrap; minor fixes along the way
Initial-work-by: Oliver Mader <b52@reaktor42.de>
Additional-work-by: Markus Cisler <mrkscslr@gmail.com>
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'scripts/get_lexer_list.py')
-rwxr-xr-x | scripts/get_lexer_list.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/get_lexer_list.py b/scripts/get_lexer_list.py new file mode 100755 index 000000000..31e8e3650 --- /dev/null +++ b/scripts/get_lexer_list.py @@ -0,0 +1,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)) |