##// END OF EJS Templates
highlight: eagerly discover plugin lexers while demandimport is off...
Augie Fackler -
r35330:169d66db default
parent child Browse files
Show More
@@ -22,8 +22,12 b' with demandimport.deactivated():'
22 22 import pygments
23 23 import pygments.formatters
24 24 import pygments.lexers
25 import pygments.plugin
25 26 import pygments.util
26 27
28 for unused in pygments.plugin.find_plugin_lexers():
29 pass
30
27 31 highlight = pygments.highlight
28 32 ClassNotFound = pygments.util.ClassNotFound
29 33 guess_lexer = pygments.lexers.guess_lexer
General Comments 0
You need to be logged in to leave comments. Login now