wakatime / legacy-python-cli

Command line interface used by all WakaTime text editor plugins.
https://wakatime.com/
BSD 3-Clause "New" or "Revised" License
1.02k stars 84 forks source link

LaTeX class files detected as OpenEdge ABL instead of TeX #173

Open threecgreen opened 5 years ago

threecgreen commented 5 years ago

Wakatime thinks LaTeX class files with a .cls extension are 'OpenEdge ABL', even though the language mode in VSCode is set to 'TeX' for these files.

wakatime

alanhamlett commented 5 years ago

Probably due to the Pygments lexer not associating *.cls extensions with TexLexer:

birkenfeld/pygments-main/pygments/lexers/markup.py

threecgreen commented 5 years ago

Hmm. Doesn't seem to be an issue with *.sty files, and that extension is also absent from filenames in the Pygments TexLexer.