Skip to content
Commit b22716a0 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

DiffWidget: Use fileName to get syntax definition

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.
parent 03b94272
Pipeline #361980 passed with stage
in 16 minutes and 41 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment