(Original issue 1392 created by borneo on 2017-11-08T14:53:21.388702+00:00)
http://pygments.org/docs/plugins/
There's no other official way to add lexers? This one is throwing me off a bit, why wouldn't someone be able to register a custom lexer easily in a pinch? There has to be a way.
I'm probably missing something obvious. Because there has to be an easier way than using setuptool's entry_points.
Other projects are resorting to vendorizing and copying in modules to /lexers manually by duplicating modules because it's cumbersome.
pygments/pygments.rb#183
(Original issue 1392 created by borneo on 2017-11-08T14:53:21.388702+00:00)
http://pygments.org/docs/plugins/
There's no other official way to add lexers? This one is throwing me off a bit, why wouldn't someone be able to register a custom lexer easily in a pinch? There has to be a way.
I'm probably missing something obvious. Because there has to be an easier way than using setuptool's entry_points.
Other projects are resorting to vendorizing and copying in modules to /lexers manually by duplicating modules because it's cumbersome.
pygments/pygments.rb#183