You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syntax highlighting is only working for known extensions, I had a look at lib/Application/Utils.php - getFileType but it defaults to 'text' for all unknown extensions, is it possible to add an array to config.ini so we can define/override custom extension mapping.
Use case: Drupal uses .module, .inc, .install for PHP as well
I solved it for now by changing views/file.twig to treat 'text' as PHP
The text was updated successfully, but these errors were encountered:
Syntax highlighting is only working for known extensions, I had a look at lib/Application/Utils.php - getFileType but it defaults to 'text' for all unknown extensions, is it possible to add an array to config.ini so we can define/override custom extension mapping.
Use case: Drupal uses .module, .inc, .install for PHP as well
I solved it for now by changing views/file.twig to treat 'text' as PHP
The text was updated successfully, but these errors were encountered: