stable

Clone or download

Read-only

request #14206: Add syntax highlighting for CMake files in the Git web browsing view

To test, commit some CMake files in a repository. They should no more be detected as plain text and have nice colors. Change-Id: I21f2a7cc0ef9c29e07c9cf02c511b836056ae6c1

Modified Files

Name
M plugins/git/include/Git/Repository/View/LanguageDetectorForPrismJS.php +42 −16 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blame.php +1 −1 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blob.php +1 −1 Go to diff View file
A plugins/git/phpunit/Git/Repository/View/LanguageDetectorForPrismJSTest.php +56 −0 Go to diff View file
M plugins/git/www/scripts/repository/file/syntax-highlight.js +1 −0 Go to diff View file