linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Using guess_lexer_for_filename() in Pygments for detection of language

Open amalmurali47 opened this issue 6 years ago • 1 comments

Why are we not using guess_lexer_for_filename() or guess_lexer() that's already available in Pygments for language-detection?

I'm trying to understand if there's any added advantage of having the same thing rewritten in the codebase.

amalmurali47 avatar May 07 '18 10:05 amalmurali47

Speed of execution matters.

MankaranSingh avatar Mar 14 '20 12:03 MankaranSingh