ZuxingGit / pygments

Pygments is a generic syntax highlighter written in Python
http://pygments.org/
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

#1138 #6

Open trungtruong1 opened 2 months ago

trungtruong1 commented 2 months ago

pygments#1138 - link to the issue

trungtruong1 commented 2 months ago

Screenshot from 2024-05-10 11-55-53

The issue #1138 says

the function name isn't highlighted because its return type is a template.

But when i check with our quicktest.py, func() is highlighted. I am using the source code in the issuesfix branch

trungtruong1 commented 2 months ago

It seems that this has been fixed by the fix for #1729

adluu2k1 commented 2 months ago

I'll check it with some other test, and if what you're saying is true, I guess we will just report this as a duplicate issue to the author

ZuxingGit commented 2 months ago

Test result by using code from master branch:

image

Test result by using code from 1729(issuesfix) branch:

image It seems it was really fixed.🎉

ZuxingGit commented 4 weeks ago

Now I fixed #4 , but when use the code on issuesfix branch to test this issue's code, the problem re-appeared. I need to check it again.

ZuxingGit commented 4 weeks ago

Now it's really fixed, hope someone can help me check it.

image

Pull Request of it