This is an archive of the discontinued Mercurial Phabricator instance.

highlight: eagerly discover plugin lexers while demandimport is off
ClosedPublic

Authored by durin42 on Dec 8 2017, 4:23 PM.

Details

Summary

Since highlight is only relevant for servers, it seems worthwhile to
just trigger this eagerly, which avoids really weird traceback
problems caused by demandimport messing with some of the lexer plugins.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Dec 8 2017, 4:23 PM
quark accepted this revision.Dec 8 2017, 5:49 PM
yuja accepted this revision.Dec 8 2017, 8:32 PM
This revision is now accepted and ready to land.Dec 8 2017, 8:32 PM
This revision was automatically updated to reflect the committed changes.