Skip to content

DiffWidget: Use fileName to get syntax definition

Waqar Ahmed requested to merge work/diffwidget-use-extension into master

Using mimeType can give bad results in some situations. E.g., mimetype for a .ts file will be qt-linguist, but the file can be a typescript file and thus KSH will fail to give the correct definition. Using the file extension can give better results.

Merge request reports

Loading