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

Use existing analyzer module for language detection for highlighting (#13522) #13551

Merged
merged 1 commit into from
Nov 13, 2020

Commits on Nov 13, 2020

  1. Use existing analyzer module for language detection for highlighting (g…

    …o-gitea#13522)
    
    * Use existing analyzer module for language detction for highlighting
    
    Thanks @lafriks for pointing out we can reuse existing code for more reliable language detection here.
    
    * Update modules/highlight/highlight.go
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    4 people committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    5003eca View commit details
    Browse the repository at this point in the history