summaryrefslogtreecommitdiffstats
path: root/scripts/get_lexer_list.py
AgeCommit message (Collapse)AuthorFilesLines
2021-08-30get_lexer_list.py: Use python3 instead of pythonkeigel20011-1/+1
Starting with the Debian 11 (bullseye) and Ubuntu 20.04 LTS (focal) releases, all python packages use explicit python3 or python2 interpreter and do not use unversioned /usr/bin/python at all. No packaged scripts should depend on the existence of '/usr/bin/python'.
2015-05-28get_lexer_list.py: Use /usr/bin/env shebangFlorian Pritz1-1/+1
This is more portable and allows for PATH overrides in case /usr/bin/python is too old (2.6) to run this file. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-09Fix mime2lexer failing when using pygments infoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-02Improve performance of pygments->mime2lexerFlorian Pritz1-3/+6
Normal arrays are rather slow when accessed sequentially. Use associative arrays and key lookups to reduce the render time of a multipaste with 180 items from 225ms to ~190ms. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-01Refactor \libraries\Pygments::get_lexersFlorian Pritz1-3/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22switch design to bootstrap; minor fixes along the wayFlorian Pritz1-0/+7
Initial-work-by: Oliver Mader <b52@reaktor42.de> Additional-work-by: Markus Cisler <mrkscslr@gmail.com> Signed-off-by: Florian Pritz <bluewind@xinu.at>