Thanks to visit codestin.com
Credit goes to github.com

Skip to content

setuptools entry points only way to register lexers? #1096

@Anteru

Description

@Anteru

(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

Metadata

Metadata

Assignees

Labels

A-lexingarea: changes to individual lexersX-importedimported from Bitbucketupdate neededWaiting for an update from the PR/issue creator

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions