Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No syntax highlighting even though pygments is installed #258

Open
LennyPenny opened this issue Oct 17, 2019 · 2 comments
Open

No syntax highlighting even though pygments is installed #258

LennyPenny opened this issue Oct 17, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@LennyPenny
Copy link

Hey
for some reason I'm not getting syntax highlighting even with pygments installed.

lenny@localhost ~> sudo pip install suplemon[all]
WARNING: Running pip install with root privileges is generally not a good idea. Try pip install --user instead.Requirement already satisfied: suplemon[all] in /usr/local/lib/python3.7/site-packages (0.2.1)
WARNING: Suplemon 0.2.1 does not provide the extra 'all'Requirement already satisfied: pygments in /usr/local/lib64/python3.7/site-packages (from suplemon[all]) (2.4.2)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.7/site-packages (from suplemon[all]) (0.1.7)
lenny@localhost ~> suplemon pew.json
image

@richrd
Copy link
Owner

richrd commented Oct 21, 2019

Thanks for reporting this. I can reproduce it with JSON files and it seems that suplemon is missing some mappings from pygments lexers to text mate themes and that's why It's not highlighting properly. I'll fix this when I have time.

@richrd richrd added the bug label Oct 21, 2019
@richrd richrd self-assigned this Oct 21, 2019
@richrd richrd added this to the Version 0.3.0 milestone Oct 21, 2019
@ClementNerma
Copy link

Hi,

I currently have the same problem with Markdown files. Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants