legacy-python-cli icon indicating copy to clipboard operation
legacy-python-cli copied to clipboard

LaTeX class files detected as OpenEdge ABL instead of TeX

Open threecgreen opened this issue 6 years ago • 2 comments

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

threecgreen avatar Apr 14 '19 15:04 threecgreen

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

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

alanhamlett avatar Apr 14 '19 16:04 alanhamlett

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

threecgreen avatar Apr 14 '19 18:04 threecgreen