suplemon icon indicating copy to clipboard operation
suplemon copied to clipboard

Issue with Pygments and alternate file extensions

Open Boyeen opened this issue 5 years ago • 1 comments

I have noticed that languages with multiple recognized extensions (e.g. SystemVerilog mode recognizes .sv and .svh) only the first extension is recognized in Suplemon. Not sure if this a Suplemon or a Pygments issue?

Also, a vote for keyboard based selects if possible sometime :-)

Boyeen avatar Apr 07 '20 20:04 Boyeen

Thanks for reporting! I took a quick look and it seems this is more of a suplemon issue. There are many ways of determining which lexer to use in Pygments (currently suplemon uses the simplest way) so I'll see if I can improve on that. I've done some other improvements to syntax highlighting so I'll include all that in the next release.

Ref: https://pygments.org/docs/api/#lexers

richrd avatar Apr 13 '20 08:04 richrd